Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[rhine] Fix usage of mii_read()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Apr 19, 2018
1 parent d6f02c7 commit f71ba14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/drivers/net/rhine.c
Expand Up @@ -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 )
Expand Down

0 comments on commit f71ba14

Please sign in to comment.