From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Rakes Date: Tue, 19 Apr 2005 23:07:22 -0700 Subject: [U-Boot-Users] EEPROM content and multiple NIC In-Reply-To: <9b7ca65705041922243be672db@mail.gmail.com> References: <9b7ca65705041922243be672db@mail.gmail.com> Message-ID: <918fdd71464515158f829fd2530f6ebf@mac.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 19, 2005, at 10:24 PM, Daniel Ann wrote: > I'm very curious about this output I'm getting, > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > 00 14 100b 0020 0200 ff ... > Net: natsemi: EEPROM contents: > d008 0001 0001 0001 0001 0001 0001 0001 0001 0001 1841 0001 > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > As far as I know, NS83815 manual claims that d008 is a default value > for vendor ID. but pci_ids thinks 100b is National semiconductor's > vendor ID. Does anyone know why the difference ? d008 == 1101000000001000 100b == 0001000000001011 It's been a long, long time since I touched/looked at this code (or the docs!), so don't ask me why this is like it is, but, there you have it... I do remember that getting MAC addresses into the EEPROM wasn't much fun because of the shifting required to get the bits into the right places. hope this helps, - -mark rakes -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.0 (Build 1917) Comment: secure: iQA/AwUBQmXxor7wvj+mn5e0EQJZQwCgxlk6DqwQjjZRQENWEHFKPONxe2EAoN7D Kw8DfjjKiOeVhNbiyvYs3tb9 =QHgw -----END PGP SIGNATURE-----