Your approach only allows the MAC address to be in the EEPROM or the romstrap. Every motherboard would have to put the EEPROM in exactly the same place for this to be a general solution. Not likely. Neither place is a general solution. Getting the MAC address is board specific and belongs in mainboard.
Steve -----Original Message----- From: YhLu [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 5:37 PM To: Ronald G. Minnich; Kimball, Stephen Cc: [EMAIL PROTECTED]; [email protected] Subject: RE: [LinuxBIOS] CK804 suggestions don't need, 1. good hw design should use one serial EEPROM to store MAC address, So when flash the BIOS, the EEPROM is still there. in ck804_nic.c will read MAC from serial EEPROM in SMBUS (bus num and device num is set in Mainboard Config.lb), at first. 2. even for bad design, you can keep your own romstrap.inc/lds in your mainboard dir, and modify Config.lb to point corrent file. In such case, you need special flash util to keep your MAC address or read the MAC address at first, and then set it back.... YH > -----Original Message----- > From: Ronald G. Minnich [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 17, 2005 12:47 PM > To: [EMAIL PROTECTED] > Cc: YhLu; [email protected] > Subject: Re: [LinuxBIOS] CK804 suggestions > > > > On Tue, 17 May 2005 [EMAIL PROTECTED] wrote: > > > I'd like to suggest that the romstrap files be moved from > southbridge > > to mainboard, because the files are board specific with a > default MAC > > address. Also the ck804_nic.c files needs a mainboard specific > > get_mac_address() that resides in mainboard. > > YhLu, can you fix this? it's a good point. > > ron > _______________________________________________ LinuxBIOS mailing list [email protected] http://www.openbios.org/mailman/listinfo/linuxbios
