From: Grant Likely <grant.likely@secretlab.ca>
To: Guillaume Dargaud <dargaud@lpsc.in2p3.fr>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Changing Mac address
Date: Mon, 28 Jul 2008 10:24:45 -0600 [thread overview]
Message-ID: <20080728162445.GB21039@secretlab.ca> (raw)
In-Reply-To: <106201c8f0bd$dda4f640$ad289e86@LPSC0173W>
On Mon, Jul 28, 2008 at 04:25:54PM +0200, Guillaume Dargaud wrote:
> Hello all,
> there's something I miss here. I'd like to setup a MAC address in
> software at the start of the boot process. I'm trying to figure out where
> this is done in the kernel code.
> I'm on a custom variant of a Xilinx ML405 card, still in PPC arch.
> So it appears to be going in the arch/ppc/boot/simple/embed_config.c
Yes, this is the correct location to set it. Do whatever you need to
set a different MAC address.
In arch/powerpc this all goes away and you can just set it in the device
tree.
g.
prev parent reply other threads:[~2008-07-28 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 14:25 Changing Mac address Guillaume Dargaud
2008-07-28 16:24 ` Grant Likely [this message]
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=20080728162445.GB21039@secretlab.ca \
--to=grant.likely@secretlab.ca \
--cc=dargaud@lpsc.in2p3.fr \
--cc=linuxppc-dev@ozlabs.org \
/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;
as well as URLs for NNTP newsgroup(s).