aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/vsc8211.c
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2008-10-08 20:38:29 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-08 20:38:29 -0400
commit044979827eda13675abab99879ebe3ea535d59fa (patch)
treebc4917540c36679c56cd1d3e70d26242233a555c /drivers/net/cxgb3/vsc8211.c
parent78e4689e908adc8334272756c32c9218d1967408 (diff)
cxgb3: simplify port type struct and usage
Second step in overall phy layer reorganization. Clean up the port_type_info structure. Support coextistence of clause 22 and clause 45 MDIO devices. Select the type of MDIO transaction on a per transaction basis. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/vsc8211.c')
-rw-r--r--drivers/net/cxgb3/vsc8211.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/vsc8211.c b/drivers/net/cxgb3/vsc8211.c
index 8f1b0d3a27e..68e6334c206 100644
--- a/drivers/net/cxgb3/vsc8211.c
+++ b/drivers/net/cxgb3/vsc8211.c
@@ -224,6 +224,9 @@ static struct cphy_ops vsc8211_ops = {
224int t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter, 224int t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter,
225 int phy_addr, const struct mdio_ops *mdio_ops) 225 int phy_addr, const struct mdio_ops *mdio_ops)
226{ 226{
227 cphy_init(phy, adapter, phy_addr, &vsc8211_ops, mdio_ops); 227 cphy_init(phy, adapter, phy_addr, &vsc8211_ops, mdio_ops,
228 SUPPORTED_10baseT_Full | SUPPORTED_100baseT_Full |
229 SUPPORTED_1000baseT_Full | SUPPORTED_Autoneg | SUPPORTED_MII |
230 SUPPORTED_TP | SUPPORTED_IRQ, "10/100/1000BASE-T");
228 return 0; 231 return 0;
229} 232}