diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2006-09-08 14:15:38 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-11 09:05:37 -0400 |
commit | 0bb3cf726b37c13abce9f9134a68b94aa10e8803 (patch) | |
tree | 52a1fe8fdd08bdc088c1fb95957ecf5e698b8def /drivers/net/tulip/21142.c | |
parent | 40c0d87948ab635e814f45664259d4cc193651a1 (diff) |
[PATCH] Defer tulip_select_media() to process context
Move tulip_select_media() processing to a workqueue, instead of
delaying in interrupt context, edited by Kyle McMartin to use kevent
thread, instead of creating its own workqueue.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Valerie Henson <val_henson@linux.intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/tulip/21142.c')
-rw-r--r-- | drivers/net/tulip/21142.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tulip/21142.c b/drivers/net/tulip/21142.c index 937025f8b5a1..fa3a2bb105ad 100644 --- a/drivers/net/tulip/21142.c +++ b/drivers/net/tulip/21142.c | |||
@@ -26,9 +26,9 @@ static u16 t21142_csr15[] = { 0x0008, 0x0006, 0x000E, 0x0008, 0x0008, }; | |||
26 | 26 | ||
27 | /* Handle the 21143 uniquely: do autoselect with NWay, not the EEPROM list | 27 | /* Handle the 21143 uniquely: do autoselect with NWay, not the EEPROM list |
28 | of available transceivers. */ | 28 | of available transceivers. */ |
29 | void t21142_timer(unsigned long data) | 29 | void t21142_media_task(void *data) |
30 | { | 30 | { |
31 | struct net_device *dev = (struct net_device *)data; | 31 | struct net_device *dev = data; |
32 | struct tulip_private *tp = netdev_priv(dev); | 32 | struct tulip_private *tp = netdev_priv(dev); |
33 | void __iomem *ioaddr = tp->base_addr; | 33 | void __iomem *ioaddr = tp->base_addr; |
34 | int csr12 = ioread32(ioaddr + CSR12); | 34 | int csr12 = ioread32(ioaddr + CSR12); |