aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-06-06 10:11:11 -0700
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 1f1ce88c818..46bd950612e 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2399,9 +2399,8 @@ struct skge_hw {
u32 ram_size;
u32 ram_offset;
u16 phy_addr;
-
- struct tasklet_struct ext_tasklet;
- spinlock_t phy_lock;
+ struct work_struct phy_work;
+ struct mutex phy_mutex;
};
enum {