|
@@ -66,6 +66,7 @@
|
66
|
66
|
|
67
|
67
|
*/
|
68
|
68
|
|
|
69
|
+#include <gpxe/ethernet.h>
|
69
|
70
|
#include "etherboot.h"
|
70
|
71
|
#include "nic.h"
|
71
|
72
|
#include "isa.h"
|
|
@@ -554,7 +555,9 @@ static int cs89x0_probe ( struct nic *nic, struct isa_device *isa ) {
|
554
|
555
|
for (i=0; i<ETH_ALEN; i++) {
|
555
|
556
|
nic->node_addr[i] = ((unsigned char *)eeprom_buff)[i];
|
556
|
557
|
}
|
557
|
|
- printf("%!\n", nic->node_addr);
|
|
558
|
+
|
|
559
|
+ DBG ( "%s\n", eth_ntoa ( nic->node_addr ) );
|
|
560
|
+
|
558
|
561
|
#endif
|
559
|
562
|
#ifdef EMBEDDED
|
560
|
563
|
/* Retrieve and print the ethernet address. */
|
|
@@ -562,7 +565,8 @@ static int cs89x0_probe ( struct nic *nic, struct isa_device *isa ) {
|
562
|
565
|
unsigned char MAC_HW_ADDR[6]={MAC_HW_ADDR_DRV};
|
563
|
566
|
memcpy(nic->node_addr, MAC_HW_ADDR, 6);
|
564
|
567
|
}
|
565
|
|
- printf("\n%!\n", nic->node_addr);
|
|
568
|
+
|
|
569
|
+ DBG ( "%s\n", eth_ntoa ( nic->node_addr ) );
|
566
|
570
|
|
567
|
571
|
eth_adapter_cnf = A_CNF_10B_T | A_CNF_MEDIA_10B_T;
|
568
|
572
|
eth_auto_neg_cnf = EE_AUTO_NEG_ENABLE | IMM_BIT;
|