]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/sky2.h
[PATCH] sky2: phy processing in workqueue rather than tasklet
[karo-tx-linux.git] / drivers / net / sky2.h
index 7943dd42ac94778f6f437a7925cfda8e5c0c8222..29ebca099f99df6ab177b60928d0bfafa25a2c13 100644 (file)
@@ -1823,8 +1823,10 @@ struct sky2_port {
        u8                   rx_csum;
        u8                   wol;
 
-       struct tasklet_struct phy_task;
        struct net_device_stats net_stats;
+
+       struct work_struct   phy_task;
+       struct semaphore     phy_sema;
 };
 
 struct sky2_hw {
@@ -1842,8 +1844,6 @@ struct sky2_hw {
        struct sky2_status_le *st_le;
        u32                  st_idx;
        dma_addr_t           st_dma;
-
-       spinlock_t           phy_lock;
 };
 
 /* Register accessor for memory mapped device */