]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mv643xx_eth.h
mv643xx_eth: remove force_phy_addr field
[linux-2.6-omap-h63xx.git] / include / linux / mv643xx_eth.h
index 12339eb65704cf9e1b25b6f36eb868cd465b9db8..cbbbe9bfecad0652334963de2cd8363c43e6b28a 100644 (file)
@@ -21,6 +21,10 @@ struct mv643xx_eth_shared_platform_data {
        unsigned int            t_clk;
 };
 
+#define MV643XX_ETH_PHY_ADDR_DEFAULT   0
+#define MV643XX_ETH_PHY_ADDR(x)                (0x80 | (x))
+#define MV643XX_ETH_PHY_NONE           0xff
+
 struct mv643xx_eth_platform_data {
        /*
         * Pointer back to our parent instance, and our port number.
@@ -31,7 +35,6 @@ struct mv643xx_eth_platform_data {
        /*
         * Whether a PHY is present, and if yes, at which address.
         */
-       int                     force_phy_addr;
        int                     phy_addr;
 
        /*