diff options
author | Divy Le Ray <divy@chelsio.com> | 2008-10-08 20:38:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 20:38:29 -0400 |
commit | 044979827eda13675abab99879ebe3ea535d59fa (patch) | |
tree | bc4917540c36679c56cd1d3e70d26242233a555c /drivers/net/cxgb3/vsc8211.c | |
parent | 78e4689e908adc8334272756c32c9218d1967408 (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.c | 5 |
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 = { | |||
224 | int t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter, | 224 | int 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 | } |