[Etherboot-developers] [PATCH] fix the e1000 mac address display
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ebi...@ln...> - 2002-03-13 09:28:10
|
In further testing when I have the final patch to start32.S
applied I don't have any problems. So my problems look like a fluke.
Or possibly just the result of a partial set of patches.
I have succesfully netbooted off of the e1000 and the eepro100 to work
from the same source. Built with the same configuration.
The following patch was needed to keep me from getting confused about
the mac address.
Eric
--- etherboot-5.0.6rc3.e1000/src/e1000.c Tue Mar 12 23:40:41 2002
+++ etherboot-5.0.6rc3.test2/src/e1000.c Wed Mar 13 02:20:34 2002
@@ -403,7 +403,7 @@
ReadNodeAddress (mac_addr);
memcpy (nic->node_addr, mac_addr, ETH_ALEN);
- printf("MAC address %!\n",nic);
+ printf("MAC address %!\n", mac_addr);
if (!InitializeHardware ()) {
E1000_ERR ("Hardware Initialization Failed\n");
|