Commit 0f237b8f authored by Tim Hockin's avatar Tim Hockin

drivers/net/eepro100.c: set the PHY ID correctly

parent 755aedd7
......@@ -849,7 +849,7 @@ static int __devinit speedo_found1(struct pci_dev *pdev,
sp->phy[0] = eeprom[6];
sp->phy[1] = eeprom[7];
sp->mii_if.phy_id = eeprom[6];
sp->mii_if.phy_id = eeprom[6] & 0x1f;
sp->mii_if.dev = dev;
sp->mii_if.mdio_read = mdio_read;
sp->mii_if.mdio_write = mdio_write;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment