X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Flinux%2Fphy.h;h=f0742b6aaa649ba49b6a9a8543bcd4083bb12b1e;hb=160acc2e899f26356bde92bc257253b7ca78f0c3;hp=edd4c88ca7d8d1a68e88922bc8466200e59d6214;hpb=97be852f81c5bb114aab31974af2c061eb86a6de;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/phy.h b/include/linux/phy.h index edd4c88ca7d..f0742b6aaa6 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -25,6 +25,8 @@ #include #include +#include + #define PHY_BASIC_FEATURES (SUPPORTED_10baseT_Half | \ SUPPORTED_10baseT_Full | \ SUPPORTED_100baseT_Half | \ @@ -55,6 +57,7 @@ typedef enum { PHY_INTERFACE_MODE_TBI, PHY_INTERFACE_MODE_RMII, PHY_INTERFACE_MODE_RGMII, + PHY_INTERFACE_MODE_RGMII_ID, PHY_INTERFACE_MODE_RTBI } phy_interface_t; @@ -280,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;