static void myri_tx_timeout(struct net_device *dev) { struct myri_eth *mp = netdev_priv(dev); ; dev->stats.tx_errors++; myri_init(mp, 0); netif_wake_queue(dev); }
static void myri_tx_timeout(struct net_device *dev) { struct myri_eth *mp = (struct myri_eth *) dev->priv; printk(KERN_ERR "%s: transmit timed out, resetting\n", dev->name); mp->enet_stats.tx_errors++; myri_init(mp, 0); netif_start_queue(dev); }
static void myri_tx_timeout(struct net_device *dev) { struct myri_eth *mp = netdev_priv(dev); printk(KERN_ERR "%s: transmit timed out, resetting\n", dev->name); dev->stats.tx_errors++; myri_init(mp, 0); netif_wake_queue(dev); }
static int myri_open(struct net_device *dev) { struct myri_eth *mp = netdev_priv(dev); return myri_init(mp, in_interrupt()); }
static int myri_open(struct net_device *dev) { struct myri_eth *mp = (struct myri_eth *) dev->priv; return myri_init(mp, in_interrupt()); }