ソースを参照

[realtek] Print bad MAC address in debug message when inferring no EEPROM

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 11年前
コミット
2e54c4b52e
1個のファイルの変更2行の追加1行の削除
  1. 2
    1
      src/drivers/net/realtek.c

+ 2
- 1
src/drivers/net/realtek.c ファイルの表示

@@ -1060,7 +1060,8 @@ static int realtek_probe ( struct pci_device *pci ) {
1060 1060
 	 * hopefully have been programmed by the platform firmware.
1061 1061
 	 */
1062 1062
 	if ( ! is_valid_ether_addr ( netdev->hw_addr ) ) {
1063
-		DBGC ( rtl, "REALTEK %p seems to have no EEPROM\n", rtl );
1063
+		DBGC ( rtl, "REALTEK %p seems to have no EEPROM (MAC %s)\n",
1064
+		       rtl, eth_ntoa ( netdev->hw_addr ) );
1064 1065
 		for ( i = 0 ; i < ETH_ALEN ; i++ )
1065 1066
 			netdev->hw_addr[i] = readb ( rtl->regs + RTL_IDR0 + i );
1066 1067
 	}

読み込み中…
キャンセル
保存