#define ETH_FCS_LEN 4
#define AG71XX_DRV_NAME "ag71xx"
#define ETH_FCS_LEN 4
#define AG71XX_DRV_NAME "ag71xx"
-#define AG71XX_DRV_VERSION "0.4.3"
+#define AG71XX_DRV_VERSION "0.4.4"
}
/* mask with MAC supported features */
}
/* mask with MAC supported features */
- phydev->supported &= (SUPPORTED_10baseT_Half
- | SUPPORTED_10baseT_Full
- | SUPPORTED_100baseT_Half
- | SUPPORTED_100baseT_Full
- | SUPPORTED_Autoneg
- | SUPPORTED_MII
- | SUPPORTED_TP);
+ if (pdata->has_gbit)
+ phydev->supported &= PHY_GBIT_FEATURES;
+ else
+ phydev->supported &= PHY_BASIC_FEATURES;
phydev->advertising = phydev->supported;
phydev->advertising = phydev->supported;
u32 flush_reg;
u32 mii_if;
u8 mac_addr[ETH_ALEN];
u32 flush_reg;
u32 mii_if;
u8 mac_addr[ETH_ALEN];
};
struct ag71xx_mdio_platform_data {
};
struct ag71xx_mdio_platform_data {