[rhine] Fix usage of mii_read()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/72/merge
Michael Brown 2018-04-19 12:34:08 +01:00
parent d6f02c72c9
commit f71ba143c7
1 changed files with 1 additions and 2 deletions

View File

@ -726,8 +726,7 @@ static int rhine_probe ( struct pci_device *pci ) {
goto err_mii_reset;
}
DBGC ( rhn, "RHINE PHY vendor %04x device %04x\n",
rhine_mii_read ( &rhn->mii, 0x02 ),
rhine_mii_read ( &rhn->mii, 0x03 ) );
mii_read ( &rhn->mii, 0x02 ), mii_read ( &rhn->mii, 0x03 ) );
/* Register network device */
if ( ( rc = register_netdev ( netdev ) ) != 0 )