瀏覽代碼

[rhine] Fix usage of mii_read()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 6 年之前
父節點
當前提交
f71ba143c7
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      src/drivers/net/rhine.c

+ 1
- 2
src/drivers/net/rhine.c 查看文件

@@ -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…
取消
儲存