From f71ba143c72b625aad273c2dfd5db21b5946d238 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 19 Apr 2018 12:34:08 +0100 Subject: [rhine] Fix usage of mii_read() Signed-off-by: Michael Brown --- src/drivers/net/rhine.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 ) -- cgit v1.2.3-55-g7522