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:46:10
On Feb 20, 2006, at 3:39 PM, Peter Seebach wrote:
> In message <9410458E-FB44-49AB-B4A7-547ED4832323@shagadelic.org>,
> Jason Thorpe
> writes:
>> 1- Modify the chip-specific i2c back-end to return an i2c_tag_t
>> suitable for use in early bootstrap.
>
> By chip-specific, you mean the at24cxx file? Or do you mean the
> iic driver?
The IBM 4XX I2C back-end driver.
>
>> 2- In machdep code, get the bootstrap i2c tag and use it to call
>> seeprom_bootstrap_read() to get the data you want.
>
>> 3- In device_register(), use device properties to associate the data
>> read out of the SEEPROM with the appropriate emac instance.
>
> Ahh!
>
> Okay, this makes a lot more sense, and I think you've convinced me
> that
> everything I thought I needed is already provided cleanly.
>
> Which, honestly, was sort of what I was expecting. :)
>
> -s
-- thorpej