Browse Source

[rhine] Fix usage of mii_read()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 6 years ago
parent
commit
f71ba143c7
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/drivers/net/rhine.c

+ 1
- 2
src/drivers/net/rhine.c View File

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

Loading…
Cancel
Save