|
@@ -29,6 +29,7 @@
|
29
|
29
|
#include "nic.h"
|
30
|
30
|
/* to get the PCI support functions, if this is a PCI NIC */
|
31
|
31
|
#include <gpxe/pci.h>
|
|
32
|
+#include <gpxe/ethernet.h>
|
32
|
33
|
|
33
|
34
|
/* Condensed operations for readability. */
|
34
|
35
|
#define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr))
|
|
@@ -691,7 +692,7 @@ static int mtd_probe ( struct nic *nic, struct pci_device *pci ) {
|
691
|
692
|
return 0;
|
692
|
693
|
}
|
693
|
694
|
|
694
|
|
- /* DBG ( "%s: ioaddr %#hX, addr %!\n",mtdx.nic_name, mtdx.ioaddr, nic->node_addr ); */
|
|
695
|
+ DBG ( "%s: ioaddr %4.4x MAC %s\n", mtdx.nic_name, mtdx.ioaddr, eth_ntoa ( nic->node_addr ) );
|
695
|
696
|
|
696
|
697
|
/* Reset the chip to erase previous misconfiguration. */
|
697
|
698
|
outl(0x00000001, mtdx.ioaddr + BCR);
|