Ticket #7417: 850-phy-mode.patch

File 850-phy-mode.patch, 584 bytes (added by bastian.tri@…, 8 years ago)

init rgmii with 1000mb

  • drivers/net/gemini_negmac/gm_gmac.c

    diff -Naur linux-2.6.32.14.orig/drivers/net/gemini_negmac/gm_gmac.c linux-2.6.32.14/drivers/net/gemini_negmac/gm_gmac.c
    old new  
    372372                status.bits.mii_rmii = GMAC_PHY_GMII; 
    373373                break; 
    374374        case PHY_INTERFACE_MODE_RGMII: 
    375                 status.bits.mii_rmii = GMAC_PHY_RGMII_100_10; 
     375                status.bits.mii_rmii = GMAC_PHY_RGMII_1000; 
    376376                break; 
    377377        default: 
    378378                dev_err(&dev->dev, "Unsupported MII interface\n");