From: Daniel Ann <ktdann@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] EEPROM content and multiple NIC
Date: Wed, 20 Apr 2005 14:24:07 +0900 [thread overview]
Message-ID: <9b7ca65705041922243be672db@mail.gmail.com> (raw)
I'm very curious about this output I'm getting,
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
00 14 100b 0020 0200 ff
In: serial
Out: serial
Err: serial
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 ?
Also, board Im using has EEPROM to configure the NIC during reset. And
it contains 100b (shown on first line of output), however, print out
of EEPROM from natsemi.c shows d008 as written in the NS83815 manual.
I'm reading the natsemi.c but I just cant see why it would read some
other value. This is a cut out of the source from natsemi.c
-------------cut--------------
printf("natsemi: EEPROM contents:\n");
for (i = 0; i <= EEPROM_SIZE; i++) {
short eedata = read_eeprom(dev, EECtrl, i);
printf(" %04hx", eedata);
}
----------end cut-----------
EEPROM_SIZE = 12 <- correct
EECtrl = 0x08 <- correct too
Another question is, I have several NIC. When I do tftpboot from first
card, works. It prints out,
Using dp83815#0 device
Next, when I remove the cable from first card, insert it to second
card, run the same command, it works, and prints out,
Using dp83815#0 device
I'm pretty sure it should print out "Using dp83815#1 device". Possibly
failed attempt from using dp83815#0 device. What do you all think?
I havent looked@it deeper enuf, but if I can get some shared
thoughts it would help me out great deal.
--
Daniel
next reply other threads:[~2005-04-20 5:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-20 5:24 Daniel Ann [this message]
2005-04-20 6:07 ` [U-Boot-Users] EEPROM content and multiple NIC Mark Rakes
2005-04-20 6:44 ` Daniel Ann
-- strict thread matches above, loose matches on Subject: below --
2005-04-20 14:44 Frank
2005-04-20 15:08 ` Wolfgang Denk
2005-04-20 15:13 Frank
2005-04-21 8:44 ` Daniel Ann
2005-04-21 17:02 ` Kylo Ginsberg
2005-04-22 5:35 ` Daniel Ann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9b7ca65705041922243be672db@mail.gmail.com \
--to=ktdann@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox