]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/phy.h
sg_last() should use unsigned loop index variable
[linux-2.6-omap-h63xx.git] / include / linux / phy.h
index 2a659789f9ca10bcca00497dcfde170023906475..f0742b6aaa649ba49b6a9a8543bcd4083bb12b1e 100644 (file)
@@ -25,6 +25,8 @@
 #include <linux/timer.h>
 #include <linux/workqueue.h>
 
+#include <asm/atomic.h>
+
 #define PHY_BASIC_FEATURES     (SUPPORTED_10baseT_Half | \
                                 SUPPORTED_10baseT_Full | \
                                 SUPPORTED_100baseT_Half | \
@@ -281,6 +283,7 @@ struct phy_device {
        /* Interrupt and Polling infrastructure */
        struct work_struct phy_queue;
        struct timer_list phy_timer;
+       atomic_t irq_disable;
 
        spinlock_t lock;