From: Dave Peverley <dpeverley@mpc-data.co.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] lan91c96 driver MAC address detection
Date: Tue, 04 May 2004 13:32:37 +0100 [thread overview]
Message-ID: <40978D65.7030805@mpc-data.co.uk> (raw)
In-Reply-To: <20040504120615.F1117C109F@atlas.denx.de>
Wolfgang Denk wrote:
> The rules are simple and documented:
Sure, I've read these...
> You cannot use BOOTP (nor ony other network related protocol) to
> detect a MAC address!!!
I think that either we operate on utterly different brainwave-lengths
or theres some kind of language barrier issue here!
If you issue a 'bootp' command to u-boot via its interface as I stated,
the following call sequence happens if you're using the lan91c96 (with
patch) or smc91111 ethernet devices :
do_bootp() [cmd_net.c]
netboot_common() [cmd_net.c]
NetLoop() [net.c]
eth_init() [lan91c96.c]
smc_open() [lan91c96.c]
smc_get_ethaddr() [lan91c96.c]
get_rom_mac() [lan91c96.c]
So in practical use, issuing a bootp detects the mac address of the
adapter.
> (nor ony other network related protocol)
Well, the following network related protocol calls :
do_tftpb()
do_rarpb()
do_dhcp()
do_nfs()
all call netboot_common() so will in effect detect the MAC address as
well ;-)
Best Wishes,
Dave Peverley
---------------------------------------------------------------------------
Dave Peverley, Software Engineer, MPC Data Limited.
Phone : [+44] (0) 1225 868 228 Web : http://www.mpc-data.co.uk
next prev parent reply other threads:[~2004-05-04 12:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-29 17:02 [U-Boot-Users] [PATCH] lan91c96 driver MAC address detection Dave Peverley
2004-04-30 19:59 ` George G. Davis
2004-05-04 9:48 ` Dave Peverley
2004-05-04 12:06 ` Wolfgang Denk
2004-05-04 12:32 ` Dave Peverley [this message]
2004-05-04 17:02 ` Wolfgang Denk
2004-05-04 17:55 ` Communication (Was Re: [U-Boot-Users] [PATCH] lan91c96 driver MAC address detection) Dave Peverley
2004-06-06 22:12 ` [U-Boot-Users] [PATCH] lan91c96 driver MAC address detection Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2004-05-04 16:20 Woodruff, Richard
2004-05-04 17:12 ` Wolfgang Denk
2004-05-04 17:19 Woodruff, Richard
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=40978D65.7030805@mpc-data.co.uk \
--to=dpeverley@mpc-data.co.uk \
--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