]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[rhine] Fix usage of mii_read()
authorMichael Brown <mcb30@ipxe.org>
Thu, 19 Apr 2018 11:34:08 +0000 (12:34 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 19 Apr 2018 11:34:08 +0000 (12:34 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/rhine.c

index 42bc124e0be82110f51478ff2e1e45a53cde8467..3d8f696db7ca20646fd6380a8eab5707e9346115 100644 (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 )