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:06:08
On Feb 20, 2006, at 6:29 AM, Peter Seebach wrote:
> The specific example in question is the TAMS 3011, which has an
> emac0 (on
> opb0, which is the bus PCI is attached to, and MUST come first),
> and an EEPROM
> which is not part of the emac0, which probes later, and which is
> needed to
> correctly attach the emac0.
If you can assume that the eeprom exists always, then hard-wire it in
platform-specific code. Other platforms do this (hard-wire existence
of an SEEPROM on I2C, for example, which is what
seeprom_bootstrap_read() exists for...)
-- thorpej