diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-12-09 14:34:57 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-12 15:27:20 -0500 |
commit | 91c86df5a8a44157b456bf1e91fc6d878582e68c (patch) | |
tree | 74f9e3f1c9b78ede4350d3ad59914dd75def74e0 /drivers/net/sky2.h | |
parent | fb17358fe31e01baf902a9fd1fce0e29e3493517 (diff) |
[PATCH] sky2: phy processing in workqueue rather than tasklet
Do phy processing in a work queue rather than a tasklet.
This means we can let bottom halves run.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r-- | drivers/net/sky2.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index 7943dd42ac94..29ebca099f99 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h | |||
@@ -1823,8 +1823,10 @@ struct sky2_port { | |||
1823 | u8 rx_csum; | 1823 | u8 rx_csum; |
1824 | u8 wol; | 1824 | u8 wol; |
1825 | 1825 | ||
1826 | struct tasklet_struct phy_task; | ||
1827 | struct net_device_stats net_stats; | 1826 | struct net_device_stats net_stats; |
1827 | |||
1828 | struct work_struct phy_task; | ||
1829 | struct semaphore phy_sema; | ||
1828 | }; | 1830 | }; |
1829 | 1831 | ||
1830 | struct sky2_hw { | 1832 | struct sky2_hw { |
@@ -1842,8 +1844,6 @@ struct sky2_hw { | |||
1842 | struct sky2_status_le *st_le; | 1844 | struct sky2_status_le *st_le; |
1843 | u32 st_idx; | 1845 | u32 st_idx; |
1844 | dma_addr_t st_dma; | 1846 | dma_addr_t st_dma; |
1845 | |||
1846 | spinlock_t phy_lock; | ||
1847 | }; | 1847 | }; |
1848 | 1848 | ||
1849 | /* Register accessor for memory mapped device */ | 1849 | /* Register accessor for memory mapped device */ |