Subject: Re: Ordering device probes
To: Peter Seebach <seebs@plethora.net>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 02/20/2006 15:10:50
On Feb 20, 2006, at 6:54 AM, Peter Seebach wrote:
> Which is why the code for it should NOT be in the emac driver, or
> in the opb
> bus driver, or the pci bus driver, or anywhere else but in my
> machdep code and
> my config file.
It should be in your board-specific code, but NOT in your kernel
config file.
In your foo_machdep.c, write a routine that assumes the existence and
location of the SEEPROM (the same way RedBoot does) and reads the MAC
address for the specified emac instance in your device_register()
routine.
-- thorpej