Browse Source

eth_ntoa fixup

tags/v0.9.3
Marty Connor 18 years ago
parent
commit
077bbc220a
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/drivers/net/3c5x9.c

+ 4
- 1
src/drivers/net/3c5x9.c View File

24
 
24
 
25
 /* #define EDEBUG */
25
 /* #define EDEBUG */
26
 
26
 
27
+#include <gpxe/ethernet.h>
27
 #include "etherboot.h"
28
 #include "etherboot.h"
28
 #include "nic.h"
29
 #include "nic.h"
29
 #include "isa.h"
30
 #include "isa.h"
397
 		GO_WINDOW(nic->ioaddr,2);
398
 		GO_WINDOW(nic->ioaddr,2);
398
 		outw(ntohs(p[i]), nic->ioaddr + EP_W2_ADDR_0 + (i * 2));
399
 		outw(ntohs(p[i]), nic->ioaddr + EP_W2_ADDR_0 + (i * 2));
399
 	}
400
 	}
400
-	printf("Ethernet address: %!\n", nic->node_addr);
401
+
402
+	DBG ( "Ethernet Address: %s\n", eth_ntoa ( nic->node_addr ) );
403
+
401
 	t509_reset(nic);
404
 	t509_reset(nic);
402
 
405
 
403
 	nic->nic_op = &t509_operations;
406
 	nic->nic_op = &t509_operations;

Loading…
Cancel
Save