aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/natsemi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/natsemi.c')
-rw-r--r--drivers/net/natsemi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c
index b238ed0e8ace..f7fa3944659b 100644
--- a/drivers/net/natsemi.c
+++ b/drivers/net/natsemi.c
@@ -612,7 +612,7 @@ static void undo_cable_magic(struct net_device *dev);
612static void check_link(struct net_device *dev); 612static void check_link(struct net_device *dev);
613static void netdev_timer(unsigned long data); 613static void netdev_timer(unsigned long data);
614static void dump_ring(struct net_device *dev); 614static void dump_ring(struct net_device *dev);
615static void tx_timeout(struct net_device *dev); 615static void ns_tx_timeout(struct net_device *dev);
616static int alloc_ring(struct net_device *dev); 616static int alloc_ring(struct net_device *dev);
617static void refill_rx(struct net_device *dev); 617static void refill_rx(struct net_device *dev);
618static void init_ring(struct net_device *dev); 618static void init_ring(struct net_device *dev);
@@ -920,7 +920,7 @@ static int __devinit natsemi_probe1 (struct pci_dev *pdev,
920 dev->set_multicast_list = &set_rx_mode; 920 dev->set_multicast_list = &set_rx_mode;
921 dev->change_mtu = &natsemi_change_mtu; 921 dev->change_mtu = &natsemi_change_mtu;
922 dev->do_ioctl = &netdev_ioctl; 922 dev->do_ioctl = &netdev_ioctl;
923 dev->tx_timeout = &tx_timeout; 923 dev->tx_timeout = &ns_tx_timeout;
924 dev->watchdog_timeo = TX_TIMEOUT; 924 dev->watchdog_timeo = TX_TIMEOUT;
925 925
926#ifdef CONFIG_NET_POLL_CONTROLLER 926#ifdef CONFIG_NET_POLL_CONTROLLER
@@ -1875,7 +1875,7 @@ static void dump_ring(struct net_device *dev)
1875 } 1875 }
1876} 1876}
1877 1877
1878static void tx_timeout(struct net_device *dev) 1878static void ns_tx_timeout(struct net_device *dev)
1879{ 1879{
1880 struct netdev_private *np = netdev_priv(dev); 1880 struct netdev_private *np = netdev_priv(dev);
1881 void __iomem * ioaddr = ns_ioaddr(dev); 1881 void __iomem * ioaddr = ns_ioaddr(dev);
@@ -3232,7 +3232,7 @@ static void __devexit natsemi_remove1 (struct pci_dev *pdev)
3232 * suspend/resume synchronization: 3232 * suspend/resume synchronization:
3233 * entry points: 3233 * entry points:
3234 * netdev_open, netdev_close, netdev_ioctl, set_rx_mode, intr_handler, 3234 * netdev_open, netdev_close, netdev_ioctl, set_rx_mode, intr_handler,
3235 * start_tx, tx_timeout 3235 * start_tx, ns_tx_timeout
3236 * 3236 *
3237 * No function accesses the hardware without checking np->hands_off. 3237 * No function accesses the hardware without checking np->hands_off.
3238 * the check occurs under spin_lock_irq(&np->lock); 3238 * the check occurs under spin_lock_irq(&np->lock);