login
Header Space

 
 

Re: iic(4) device discovery

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <tech-kern@...>
Cc: Jachym Holecek <freza@...>
Date: Saturday, October 20, 2007 - 7:37 am

Hi,

On 10/20/07, Jachym Holecek <freza@netbsd.org> wrote:

But this functionality is more controller-specific than
architecture-specific. In the macppc example, the OpenFirmware nodes
are ki2c(4) specific (and are in fact child nodes of the ki2c firmware
nodes) and should not affect for example cuda(4) or pmu(4) -- and it
should be possible to have all of these I2C controllers enabled
without conflicts.

Using the callback approach, the ki2c(4) device discover method would
look at the child nodes of its OpenFirmware node and call a callback
function of iic(4) to configure them. cuda(4) or pmu(4) would use a
different implementation of the discover method.

     -Marco
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
iic(4) device discovery, Marco Trillo, (Fri Oct 19, 6:43 pm)
Re: iic(4) device discovery, Martin Husemann, (Fri Oct 19, 7:53 pm)
Re: iic(4) device discovery, Jason Thorpe, (Fri Oct 19, 7:56 pm)
Re: iic(4) device discovery, Marco Trillo, (Sat Oct 20, 4:42 am)
Re: iic(4) device discovery, Michael Lorenz, (Sat Oct 20, 11:07 am)
Re: iic(4) device discovery, Jachym Holecek, (Sat Oct 20, 5:12 am)
Re: iic(4) device discovery, Marco Trillo, (Sat Oct 20, 7:37 am)
Re: iic(4) device discovery, Michael Lorenz, (Sat Oct 20, 10:59 am)
Re: iic(4) device discovery, Jachym Holecek, (Sat Oct 20, 9:30 am)
Re: iic(4) device discovery, Quentin Garnier, (Sat Oct 20, 10:09 am)
Re: iic(4) device discovery, Martin Husemann, (Fri Oct 19, 8:04 pm)
speck-geostationary