aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-06-06 13:11:11 -0400
committerJeff Garzik <jeff@garzik.org>2006-06-08 15:44:54 -0400
commitd85b514fd9aa95d2089fa16dccc25863fb2a766c (patch)
tree7a46eaf6bfa9d745e821cedc51d9deb81b2d7108 /drivers/net/skge.h
parentb10c066823c97c0e40989b2048540e85f5190501 (diff)
[PATCH] skge: use workq for PHY handling
Since accessing the PHY can take 100's of usecs, use a work queue to allow spinning in outside of soft/hard irq. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/skge.h')
-rw-r--r--drivers/net/skge.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index 1f1ce88c8186..46bd950612e5 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2399,9 +2399,8 @@ struct skge_hw {
2399 u32 ram_size; 2399 u32 ram_size;
2400 u32 ram_offset; 2400 u32 ram_offset;
2401 u16 phy_addr; 2401 u16 phy_addr;
2402 2402 struct work_struct phy_work;
2403 struct tasklet_struct ext_tasklet; 2403 struct mutex phy_mutex;
2404 spinlock_t phy_lock;
2405}; 2404};
2406 2405
2407enum { 2406enum {