120b2af32SRussell King /* 220b2af32SRussell King * Marvell 10G 88x3310 PHY driver 320b2af32SRussell King * 420b2af32SRussell King * Based upon the ID registers, this PHY appears to be a mixture of IPs 520b2af32SRussell King * from two different companies. 620b2af32SRussell King * 720b2af32SRussell King * There appears to be several different data paths through the PHY which 820b2af32SRussell King * are automatically managed by the PHY. The following has been determined 905ca1b32SRussell King * via observation and experimentation for a setup using single-lane Serdes: 1020b2af32SRussell King * 1120b2af32SRussell King * SGMII PHYXS -- BASE-T PCS -- 10G PMA -- AN -- Copper (for <= 1G) 1220b2af32SRussell King * 10GBASE-KR PHYXS -- BASE-T PCS -- 10G PMA -- AN -- Copper (for 10G) 1320b2af32SRussell King * 10GBASE-KR PHYXS -- BASE-R PCS -- Fiber 1420b2af32SRussell King * 1505ca1b32SRussell King * With XAUI, observation shows: 1605ca1b32SRussell King * 1705ca1b32SRussell King * XAUI PHYXS -- <appropriate PCS as above> 1805ca1b32SRussell King * 1905ca1b32SRussell King * and no switching of the host interface mode occurs. 2005ca1b32SRussell King * 2120b2af32SRussell King * If both the fiber and copper ports are connected, the first to gain 2220b2af32SRussell King * link takes priority and the other port is completely locked out. 2320b2af32SRussell King */ 2420b2af32SRussell King #include <linux/phy.h> 25952b6b3bSAntoine Tenart #include <linux/marvell_phy.h> 2620b2af32SRussell King 2720b2af32SRussell King enum { 2820b2af32SRussell King MV_PCS_BASE_T = 0x0000, 2920b2af32SRussell King MV_PCS_BASE_R = 0x1000, 3020b2af32SRussell King MV_PCS_1000BASEX = 0x2000, 3120b2af32SRussell King 32ea4efe25SRussell King MV_PCS_PAIRSWAP = 0x8182, 33ea4efe25SRussell King MV_PCS_PAIRSWAP_MASK = 0x0003, 34ea4efe25SRussell King MV_PCS_PAIRSWAP_AB = 0x0002, 35ea4efe25SRussell King MV_PCS_PAIRSWAP_NONE = 0x0003, 36ea4efe25SRussell King 3720b2af32SRussell King /* These registers appear at 0x800X and 0xa00X - the 0xa00X control 3820b2af32SRussell King * registers appear to set themselves to the 0x800X when AN is 3920b2af32SRussell King * restarted, but status registers appear readable from either. 4020b2af32SRussell King */ 4120b2af32SRussell King MV_AN_CTRL1000 = 0x8000, /* 1000base-T control register */ 4220b2af32SRussell King MV_AN_STAT1000 = 0x8001, /* 1000base-T status register */ 4320b2af32SRussell King }; 4420b2af32SRussell King 4520b2af32SRussell King static int mv3310_modify(struct phy_device *phydev, int devad, u16 reg, 4620b2af32SRussell King u16 mask, u16 bits) 4720b2af32SRussell King { 4820b2af32SRussell King int old, val, ret; 4920b2af32SRussell King 5020b2af32SRussell King old = phy_read_mmd(phydev, devad, reg); 5120b2af32SRussell King if (old < 0) 5220b2af32SRussell King return old; 5320b2af32SRussell King 5420b2af32SRussell King val = (old & ~mask) | (bits & mask); 5520b2af32SRussell King if (val == old) 5620b2af32SRussell King return 0; 5720b2af32SRussell King 5820b2af32SRussell King ret = phy_write_mmd(phydev, devad, reg, val); 5920b2af32SRussell King 6020b2af32SRussell King return ret < 0 ? ret : 1; 6120b2af32SRussell King } 6220b2af32SRussell King 6320b2af32SRussell King static int mv3310_probe(struct phy_device *phydev) 6420b2af32SRussell King { 6520b2af32SRussell King u32 mmd_mask = MDIO_DEVS_PMAPMD | MDIO_DEVS_AN; 6620b2af32SRussell King 6720b2af32SRussell King if (!phydev->is_c45 || 6820b2af32SRussell King (phydev->c45_ids.devices_in_package & mmd_mask) != mmd_mask) 6920b2af32SRussell King return -ENODEV; 7020b2af32SRussell King 7120b2af32SRussell King return 0; 7220b2af32SRussell King } 7320b2af32SRussell King 7420b2af32SRussell King static int mv3310_config_init(struct phy_device *phydev) 7520b2af32SRussell King { 7620b2af32SRussell King __ETHTOOL_DECLARE_LINK_MODE_MASK(supported) = { 0, }; 7720b2af32SRussell King u32 mask; 7820b2af32SRussell King int val; 7920b2af32SRussell King 8020b2af32SRussell King /* Check that the PHY interface type is compatible */ 8120b2af32SRussell King if (phydev->interface != PHY_INTERFACE_MODE_SGMII && 8220b2af32SRussell King phydev->interface != PHY_INTERFACE_MODE_XAUI && 8320b2af32SRussell King phydev->interface != PHY_INTERFACE_MODE_RXAUI && 8420b2af32SRussell King phydev->interface != PHY_INTERFACE_MODE_10GKR) 8520b2af32SRussell King return -ENODEV; 8620b2af32SRussell King 8720b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_Pause_BIT, supported); 8820b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, supported); 8920b2af32SRussell King 9020b2af32SRussell King if (phydev->c45_ids.devices_in_package & MDIO_DEVS_AN) { 9120b2af32SRussell King val = phy_read_mmd(phydev, MDIO_MMD_AN, MDIO_STAT1); 9220b2af32SRussell King if (val < 0) 9320b2af32SRussell King return val; 9420b2af32SRussell King 9520b2af32SRussell King if (val & MDIO_AN_STAT1_ABLE) 9620b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, supported); 9720b2af32SRussell King } 9820b2af32SRussell King 9920b2af32SRussell King val = phy_read_mmd(phydev, MDIO_MMD_PMAPMD, MDIO_STAT2); 10020b2af32SRussell King if (val < 0) 10120b2af32SRussell King return val; 10220b2af32SRussell King 10320b2af32SRussell King /* Ethtool does not support the WAN mode bits */ 10420b2af32SRussell King if (val & (MDIO_PMA_STAT2_10GBSR | MDIO_PMA_STAT2_10GBLR | 10520b2af32SRussell King MDIO_PMA_STAT2_10GBER | MDIO_PMA_STAT2_10GBLX4 | 10620b2af32SRussell King MDIO_PMA_STAT2_10GBSW | MDIO_PMA_STAT2_10GBLW | 10720b2af32SRussell King MDIO_PMA_STAT2_10GBEW)) 10820b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, supported); 10920b2af32SRussell King if (val & MDIO_PMA_STAT2_10GBSR) 11020b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_10000baseSR_Full_BIT, supported); 11120b2af32SRussell King if (val & MDIO_PMA_STAT2_10GBLR) 11220b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_10000baseLR_Full_BIT, supported); 11320b2af32SRussell King if (val & MDIO_PMA_STAT2_10GBER) 11420b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_10000baseER_Full_BIT, supported); 11520b2af32SRussell King 11620b2af32SRussell King if (val & MDIO_PMA_STAT2_EXTABLE) { 11720b2af32SRussell King val = phy_read_mmd(phydev, MDIO_MMD_PMAPMD, MDIO_PMA_EXTABLE); 11820b2af32SRussell King if (val < 0) 11920b2af32SRussell King return val; 12020b2af32SRussell King 12120b2af32SRussell King if (val & (MDIO_PMA_EXTABLE_10GBT | MDIO_PMA_EXTABLE_1000BT | 12220b2af32SRussell King MDIO_PMA_EXTABLE_100BTX | MDIO_PMA_EXTABLE_10BT)) 12320b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_TP_BIT, supported); 12420b2af32SRussell King if (val & MDIO_PMA_EXTABLE_10GBLRM) 12520b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, supported); 12620b2af32SRussell King if (val & (MDIO_PMA_EXTABLE_10GBKX4 | MDIO_PMA_EXTABLE_10GBKR | 12720b2af32SRussell King MDIO_PMA_EXTABLE_1000BKX)) 12820b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_Backplane_BIT, supported); 12920b2af32SRussell King if (val & MDIO_PMA_EXTABLE_10GBLRM) 13020b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT, 13120b2af32SRussell King supported); 13220b2af32SRussell King if (val & MDIO_PMA_EXTABLE_10GBT) 13320b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_10000baseT_Full_BIT, 13420b2af32SRussell King supported); 13520b2af32SRussell King if (val & MDIO_PMA_EXTABLE_10GBKX4) 13620b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_10000baseKX4_Full_BIT, 13720b2af32SRussell King supported); 13820b2af32SRussell King if (val & MDIO_PMA_EXTABLE_10GBKR) 13920b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_10000baseKR_Full_BIT, 14020b2af32SRussell King supported); 14120b2af32SRussell King if (val & MDIO_PMA_EXTABLE_1000BT) 14220b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_1000baseT_Full_BIT, 14320b2af32SRussell King supported); 14420b2af32SRussell King if (val & MDIO_PMA_EXTABLE_1000BKX) 14520b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_1000baseKX_Full_BIT, 14620b2af32SRussell King supported); 1476798d03cSRussell King if (val & MDIO_PMA_EXTABLE_100BTX) { 14820b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_100baseT_Full_BIT, 14920b2af32SRussell King supported); 1506798d03cSRussell King __set_bit(ETHTOOL_LINK_MODE_100baseT_Half_BIT, 1516798d03cSRussell King supported); 1526798d03cSRussell King } 1536798d03cSRussell King if (val & MDIO_PMA_EXTABLE_10BT) { 15420b2af32SRussell King __set_bit(ETHTOOL_LINK_MODE_10baseT_Full_BIT, 15520b2af32SRussell King supported); 1566798d03cSRussell King __set_bit(ETHTOOL_LINK_MODE_10baseT_Half_BIT, 1576798d03cSRussell King supported); 1586798d03cSRussell King } 15920b2af32SRussell King } 16020b2af32SRussell King 16120b2af32SRussell King if (!ethtool_convert_link_mode_to_legacy_u32(&mask, supported)) 16220b2af32SRussell King dev_warn(&phydev->mdio.dev, 16320b2af32SRussell King "PHY supports (%*pb) more modes than phylib supports, some modes not supported.\n", 16420b2af32SRussell King __ETHTOOL_LINK_MODE_MASK_NBITS, supported); 16520b2af32SRussell King 16620b2af32SRussell King phydev->supported &= mask; 16720b2af32SRussell King phydev->advertising &= phydev->supported; 16820b2af32SRussell King 16920b2af32SRussell King return 0; 17020b2af32SRussell King } 17120b2af32SRussell King 17220b2af32SRussell King static int mv3310_config_aneg(struct phy_device *phydev) 17320b2af32SRussell King { 17420b2af32SRussell King bool changed = false; 17520b2af32SRussell King u32 advertising; 17620b2af32SRussell King int ret; 17720b2af32SRussell King 178ea4efe25SRussell King /* We don't support manual MDI control */ 179ea4efe25SRussell King phydev->mdix_ctrl = ETH_TP_MDI_AUTO; 180ea4efe25SRussell King 18120b2af32SRussell King if (phydev->autoneg == AUTONEG_DISABLE) { 18220b2af32SRussell King ret = genphy_c45_pma_setup_forced(phydev); 18320b2af32SRussell King if (ret < 0) 18420b2af32SRussell King return ret; 18520b2af32SRussell King 18620b2af32SRussell King return genphy_c45_an_disable_aneg(phydev); 18720b2af32SRussell King } 18820b2af32SRussell King 18920b2af32SRussell King phydev->advertising &= phydev->supported; 19020b2af32SRussell King advertising = phydev->advertising; 19120b2af32SRussell King 19220b2af32SRussell King ret = mv3310_modify(phydev, MDIO_MMD_AN, MDIO_AN_ADVERTISE, 19320b2af32SRussell King ADVERTISE_ALL | ADVERTISE_100BASE4 | 19420b2af32SRussell King ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM, 19520b2af32SRussell King ethtool_adv_to_mii_adv_t(advertising)); 19620b2af32SRussell King if (ret < 0) 19720b2af32SRussell King return ret; 19820b2af32SRussell King if (ret > 0) 19920b2af32SRussell King changed = true; 20020b2af32SRussell King 20120b2af32SRussell King ret = mv3310_modify(phydev, MDIO_MMD_AN, MV_AN_CTRL1000, 20220b2af32SRussell King ADVERTISE_1000FULL | ADVERTISE_1000HALF, 20320b2af32SRussell King ethtool_adv_to_mii_ctrl1000_t(advertising)); 20420b2af32SRussell King if (ret < 0) 20520b2af32SRussell King return ret; 20620b2af32SRussell King if (ret > 0) 20720b2af32SRussell King changed = true; 20820b2af32SRussell King 20920b2af32SRussell King /* 10G control register */ 21020b2af32SRussell King ret = mv3310_modify(phydev, MDIO_MMD_AN, MDIO_AN_10GBT_CTRL, 21120b2af32SRussell King MDIO_AN_10GBT_CTRL_ADV10G, 21220b2af32SRussell King advertising & ADVERTISED_10000baseT_Full ? 21320b2af32SRussell King MDIO_AN_10GBT_CTRL_ADV10G : 0); 21420b2af32SRussell King if (ret < 0) 21520b2af32SRussell King return ret; 21620b2af32SRussell King if (ret > 0) 21720b2af32SRussell King changed = true; 21820b2af32SRussell King 21920b2af32SRussell King if (changed) 22020b2af32SRussell King ret = genphy_c45_restart_aneg(phydev); 22120b2af32SRussell King 22220b2af32SRussell King return ret; 22320b2af32SRussell King } 22420b2af32SRussell King 22520b2af32SRussell King static int mv3310_aneg_done(struct phy_device *phydev) 22620b2af32SRussell King { 22720b2af32SRussell King int val; 22820b2af32SRussell King 22920b2af32SRussell King val = phy_read_mmd(phydev, MDIO_MMD_PCS, MV_PCS_BASE_R + MDIO_STAT1); 23020b2af32SRussell King if (val < 0) 23120b2af32SRussell King return val; 23220b2af32SRussell King 23320b2af32SRussell King if (val & MDIO_STAT1_LSTATUS) 23420b2af32SRussell King return 1; 23520b2af32SRussell King 23620b2af32SRussell King return genphy_c45_aneg_done(phydev); 23720b2af32SRussell King } 23820b2af32SRussell King 23936c4449aSRussell King static void mv3310_update_interface(struct phy_device *phydev) 24036c4449aSRussell King { 24136c4449aSRussell King if ((phydev->interface == PHY_INTERFACE_MODE_SGMII || 24236c4449aSRussell King phydev->interface == PHY_INTERFACE_MODE_10GKR) && phydev->link) { 24336c4449aSRussell King /* The PHY automatically switches its serdes interface (and 24436c4449aSRussell King * active PHYXS instance) between Cisco SGMII and 10GBase-KR 24536c4449aSRussell King * modes according to the speed. Florian suggests setting 24636c4449aSRussell King * phydev->interface to communicate this to the MAC. Only do 24736c4449aSRussell King * this if we are already in either SGMII or 10GBase-KR mode. 24836c4449aSRussell King */ 24936c4449aSRussell King if (phydev->speed == SPEED_10000) 25036c4449aSRussell King phydev->interface = PHY_INTERFACE_MODE_10GKR; 25136c4449aSRussell King else if (phydev->speed >= SPEED_10 && 25236c4449aSRussell King phydev->speed < SPEED_10000) 25336c4449aSRussell King phydev->interface = PHY_INTERFACE_MODE_SGMII; 25436c4449aSRussell King } 25536c4449aSRussell King } 25636c4449aSRussell King 25720b2af32SRussell King /* 10GBASE-ER,LR,LRM,SR do not support autonegotiation. */ 25820b2af32SRussell King static int mv3310_read_10gbr_status(struct phy_device *phydev) 25920b2af32SRussell King { 26020b2af32SRussell King phydev->link = 1; 26120b2af32SRussell King phydev->speed = SPEED_10000; 26220b2af32SRussell King phydev->duplex = DUPLEX_FULL; 26320b2af32SRussell King 26436c4449aSRussell King mv3310_update_interface(phydev); 26520b2af32SRussell King 26620b2af32SRussell King return 0; 26720b2af32SRussell King } 26820b2af32SRussell King 26920b2af32SRussell King static int mv3310_read_status(struct phy_device *phydev) 27020b2af32SRussell King { 27120b2af32SRussell King u32 mmd_mask = phydev->c45_ids.devices_in_package; 27220b2af32SRussell King int val; 27320b2af32SRussell King 27420b2af32SRussell King /* The vendor devads do not report link status. Avoid the PHYXS 27520b2af32SRussell King * instance as there are three, and its status depends on the MAC 27620b2af32SRussell King * being appropriately configured for the negotiated speed. 27720b2af32SRussell King */ 27820b2af32SRussell King mmd_mask &= ~(BIT(MDIO_MMD_VEND1) | BIT(MDIO_MMD_VEND2) | 27920b2af32SRussell King BIT(MDIO_MMD_PHYXS)); 28020b2af32SRussell King 28120b2af32SRussell King phydev->speed = SPEED_UNKNOWN; 28220b2af32SRussell King phydev->duplex = DUPLEX_UNKNOWN; 28320b2af32SRussell King phydev->lp_advertising = 0; 28420b2af32SRussell King phydev->link = 0; 28520b2af32SRussell King phydev->pause = 0; 28620b2af32SRussell King phydev->asym_pause = 0; 287ea4efe25SRussell King phydev->mdix = 0; 28820b2af32SRussell King 28920b2af32SRussell King val = phy_read_mmd(phydev, MDIO_MMD_PCS, MV_PCS_BASE_R + MDIO_STAT1); 29020b2af32SRussell King if (val < 0) 29120b2af32SRussell King return val; 29220b2af32SRussell King 29320b2af32SRussell King if (val & MDIO_STAT1_LSTATUS) 29420b2af32SRussell King return mv3310_read_10gbr_status(phydev); 29520b2af32SRussell King 29620b2af32SRussell King val = genphy_c45_read_link(phydev, mmd_mask); 29720b2af32SRussell King if (val < 0) 29820b2af32SRussell King return val; 29920b2af32SRussell King 30020b2af32SRussell King phydev->link = val > 0 ? 1 : 0; 30120b2af32SRussell King 30220b2af32SRussell King val = phy_read_mmd(phydev, MDIO_MMD_AN, MDIO_STAT1); 30320b2af32SRussell King if (val < 0) 30420b2af32SRussell King return val; 30520b2af32SRussell King 30620b2af32SRussell King if (val & MDIO_AN_STAT1_COMPLETE) { 30720b2af32SRussell King val = genphy_c45_read_lpa(phydev); 30820b2af32SRussell King if (val < 0) 30920b2af32SRussell King return val; 31020b2af32SRussell King 311*cc1122b0SColin Ian King /* Read the link partner's 1G advertisement */ 31220b2af32SRussell King val = phy_read_mmd(phydev, MDIO_MMD_AN, MV_AN_STAT1000); 31320b2af32SRussell King if (val < 0) 31420b2af32SRussell King return val; 31520b2af32SRussell King 31620b2af32SRussell King phydev->lp_advertising |= mii_stat1000_to_ethtool_lpa_t(val); 31720b2af32SRussell King 3186798d03cSRussell King if (phydev->autoneg == AUTONEG_ENABLE) 3196798d03cSRussell King phy_resolve_aneg_linkmode(phydev); 32020b2af32SRussell King } 32120b2af32SRussell King 32220b2af32SRussell King if (phydev->autoneg != AUTONEG_ENABLE) { 32320b2af32SRussell King val = genphy_c45_read_pma(phydev); 32420b2af32SRussell King if (val < 0) 32520b2af32SRussell King return val; 32620b2af32SRussell King } 32720b2af32SRussell King 328ea4efe25SRussell King if (phydev->speed == SPEED_10000) { 329ea4efe25SRussell King val = genphy_c45_read_mdix(phydev); 330ea4efe25SRussell King if (val < 0) 331ea4efe25SRussell King return val; 332ea4efe25SRussell King } else { 333ea4efe25SRussell King val = phy_read_mmd(phydev, MDIO_MMD_PCS, MV_PCS_PAIRSWAP); 334ea4efe25SRussell King if (val < 0) 335ea4efe25SRussell King return val; 336ea4efe25SRussell King 337ea4efe25SRussell King switch (val & MV_PCS_PAIRSWAP_MASK) { 338ea4efe25SRussell King case MV_PCS_PAIRSWAP_AB: 339ea4efe25SRussell King phydev->mdix = ETH_TP_MDI_X; 340ea4efe25SRussell King break; 341ea4efe25SRussell King case MV_PCS_PAIRSWAP_NONE: 342ea4efe25SRussell King phydev->mdix = ETH_TP_MDI; 343ea4efe25SRussell King break; 344ea4efe25SRussell King default: 345ea4efe25SRussell King phydev->mdix = ETH_TP_MDI_INVALID; 346ea4efe25SRussell King break; 347ea4efe25SRussell King } 348ea4efe25SRussell King } 349ea4efe25SRussell King 35036c4449aSRussell King mv3310_update_interface(phydev); 35120b2af32SRussell King 35220b2af32SRussell King return 0; 35320b2af32SRussell King } 35420b2af32SRussell King 35520b2af32SRussell King static struct phy_driver mv3310_drivers[] = { 35620b2af32SRussell King { 35720b2af32SRussell King .phy_id = 0x002b09aa, 358952b6b3bSAntoine Tenart .phy_id_mask = MARVELL_PHY_ID_MASK, 35920b2af32SRussell King .name = "mv88x3310", 36020b2af32SRussell King .features = SUPPORTED_10baseT_Full | 3616798d03cSRussell King SUPPORTED_10baseT_Half | 36220b2af32SRussell King SUPPORTED_100baseT_Full | 3636798d03cSRussell King SUPPORTED_100baseT_Half | 36420b2af32SRussell King SUPPORTED_1000baseT_Full | 36520b2af32SRussell King SUPPORTED_Autoneg | 36620b2af32SRussell King SUPPORTED_TP | 36720b2af32SRussell King SUPPORTED_FIBRE | 36820b2af32SRussell King SUPPORTED_10000baseT_Full | 36920b2af32SRussell King SUPPORTED_Backplane, 37020b2af32SRussell King .probe = mv3310_probe, 37156847704SFlorian Fainelli .soft_reset = gen10g_no_soft_reset, 37220b2af32SRussell King .config_init = mv3310_config_init, 37320b2af32SRussell King .config_aneg = mv3310_config_aneg, 37420b2af32SRussell King .aneg_done = mv3310_aneg_done, 37520b2af32SRussell King .read_status = mv3310_read_status, 37620b2af32SRussell King }, 37720b2af32SRussell King }; 37820b2af32SRussell King 37920b2af32SRussell King module_phy_driver(mv3310_drivers); 38020b2af32SRussell King 38120b2af32SRussell King static struct mdio_device_id __maybe_unused mv3310_tbl[] = { 382952b6b3bSAntoine Tenart { 0x002b09aa, MARVELL_PHY_ID_MASK }, 38320b2af32SRussell King { }, 38420b2af32SRussell King }; 38520b2af32SRussell King MODULE_DEVICE_TABLE(mdio, mv3310_tbl); 38620b2af32SRussell King MODULE_DESCRIPTION("Marvell Alaska X 10Gigabit Ethernet PHY driver (MV88X3310)"); 38720b2af32SRussell King MODULE_LICENSE("GPL"); 388