cxgb3: simplify port type struct and usage
[linux-3.10.git] / drivers / net / cxgb3 / vsc8211.c
index 8f1b0d3a27ed64fa0ae1ca47e9d2596797d28b40..68e6334c206a99580e6fe805b3bb464f74c5272b 100644 (file)
@@ -224,6 +224,9 @@ static struct cphy_ops vsc8211_ops = {
 int t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter,
                        int phy_addr, const struct mdio_ops *mdio_ops)
 {
-       cphy_init(phy, adapter, phy_addr, &vsc8211_ops, mdio_ops);
+       cphy_init(phy, adapter, phy_addr, &vsc8211_ops, mdio_ops,
+                 SUPPORTED_10baseT_Full | SUPPORTED_100baseT_Full |
+                 SUPPORTED_1000baseT_Full | SUPPORTED_Autoneg | SUPPORTED_MII |
+                 SUPPORTED_TP | SUPPORTED_IRQ, "10/100/1000BASE-T");
        return 0;
 }