summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2018-04-19 13:34:08 +0200
committerMichael Brown2018-04-19 13:34:08 +0200
commitf71ba143c72b625aad273c2dfd5db21b5946d238 (patch)
tree47060c83314fd26ea1d4427284bd416fd1b68672
parent[undi] Include subsystem IDs in broken interrupt device check (diff)
downloadipxe-f71ba143c72b625aad273c2dfd5db21b5946d238.tar.gz
ipxe-f71ba143c72b625aad273c2dfd5db21b5946d238.tar.xz
ipxe-f71ba143c72b625aad273c2dfd5db21b5946d238.zip
[rhine] Fix usage of mii_read()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/drivers/net/rhine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/net/rhine.c b/src/drivers/net/rhine.c
index 42bc124e..3d8f696d 100644
--- a/src/drivers/net/rhine.c
+++ b/src/drivers/net/rhine.c
@@ -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 )