i2c-bus at 0 twice?

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Mar 17 10:52:25 EST 2006


On Wed, 2006-03-15 at 19:29 +0100, Johannes Berg wrote:
> johannes at quad:/proc/device-tree/ht at 0,f2000000/pci at 8/mac-io at 7/i2c at 18000$ ls
> AAPL,address       built-in     i2c-bus at 0         linux,phandle
> AAPL,address-step  compatible   interrupt-parent  name
> AAPL,i2c-rate      device_type  interrupts        reg
> #address-cells     i2c-bus at 0    linux,device      #size-cells
> 
> Somewhat odd that i2c-bus at 0 exists twice :) Anyone have an explanation?

It's a bug in OF on these machines. We need to workaround that,
especially since only one of them contains all the useful infos

Ben




More information about the Linuxppc-dev mailing list