Browse Source

eth_ntoa cleanup

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

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

35
 #define PRINTK2(args...)
35
 #define PRINTK2(args...)
36
 #endif
36
 #endif
37
 
37
 
38
+#include <gpxe/ethernet.h>
38
 #include "etherboot.h"
39
 #include "etherboot.h"
39
 #include "nic.h"
40
 #include "nic.h"
40
 #include "isa.h"
41
 #include "isa.h"
899
    printf("%s rev:%d I/O port:%hX Interface:%s RAM:%d bytes \n",
900
    printf("%s rev:%d I/O port:%hX Interface:%s RAM:%d bytes \n",
900
 	  version_string, revision & 0xF,
901
 	  version_string, revision & 0xF,
901
 	  nic->ioaddr, if_string, memory );
902
 	  nic->ioaddr, if_string, memory );
902
-   /*
903
-    * Print the Ethernet address
904
-    */
905
-   printf("Ethernet MAC address: %!\n", nic->node_addr);
903
+
904
+   DBG ( "Ethernet MAC address: %s\n", eth_ntoa ( nic->node_addr ) );
906
 
905
 
907
    SMC_SELECT_BANK(nic->ioaddr, 0);
906
    SMC_SELECT_BANK(nic->ioaddr, 0);
908
 
907
 

Loading…
Cancel
Save