diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-06-06 10:11:11 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-08 15:44:54 -0400 |
commit | d85b514fd9aa95d2089fa16dccc25863fb2a766c (patch) | |
tree | 7a46eaf6bfa9d745e821cedc51d9deb81b2d7108 /drivers/net/skge.h | |
parent | b10c066823c97c0e40989b2048540e85f5190501 (diff) | |
download | linux-3.10-d85b514fd9aa95d2089fa16dccc25863fb2a766c.tar.gz linux-3.10-d85b514fd9aa95d2089fa16dccc25863fb2a766c.tar.bz2 linux-3.10-d85b514fd9aa95d2089fa16dccc25863fb2a766c.zip |
[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.h | 5 |
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 { |