Commit 2a43f6ff authored by Tim Hockin's avatar Tim Hockin

drivers/net/eepro100.c: set phy_id_mask and reg_num_mask in mii_if

parent 4b7ef55a
......@@ -850,6 +850,8 @@ static int __devinit speedo_found1(struct pci_dev *pdev,
sp->phy[1] = eeprom[7];
sp->mii_if.phy_id = eeprom[6] & 0x1f;
sp->mii_if.phy_id_mask = 0x1f;
sp->mii_if.reg_num_mask = 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