X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fphy.h;h=331521a10a2d5072be85698afd37c1300016d53d;hb=bb3b9cf122eb097ed9fe8ae50e1b0dbba9bbe447;hp=72cb67b66e0c85144c6544920299d5348708458e;hpb=da61396d24e37258817e42537c482e962b4742f7;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/phy.h b/include/linux/phy.h index 72cb67b66e0..331521a10a2 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -53,6 +53,9 @@ #define PHY_MAX_ADDR 32 +/* Used when trying to connect to a specific phy (mii bus id:phy device id) */ +#define PHY_ID_FMT "%x:%02x" + /* The Bus class for PHYs. Devices which provide access to * PHYs should register using this structure */ struct mii_bus { @@ -72,6 +75,9 @@ struct mii_bus { /* list of all PHYs on bus */ struct phy_device *phy_map[PHY_MAX_ADDR]; + /* Phy addresses to be ignored when probing */ + u32 phy_mask; + /* Pointer to an array of interrupts, each PHY's * interrupt at the index matching its address */ int *irq;