Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Upgrading from 5.1_STABLE to 5.99.46 on Sun Fire V100



On Tue, 1 Mar 2011, Rafal Boni wrote:

> On Tue, Mar 01, 2011 at 04:37:08PM +0000, Eduardo Horvath wrote:
> > You should be using the "device_type" property to determine what sort of 
> > device it is and the "compatible" property to decide what driver to 
> > attach.  Unfortunately some devices don't have a "device_type" property, 
> > so in this case you may need to use the "compatible" property to identify 
> > it.  Using the children to figure that out is a bad idea since there are 
> > I2C controllers that are directly attached instead of children of SMBus 
> > devices and who knows what would happen in that case.
> 
> Unfortunately, we don't have the OF node for the iic device, just the 
> PMU in this case, which doesn't have very helpful properties (PCI ID +
> a rather useless PCI class 0).

The PMU *is* the I2C controller.

Eduardo


Home | Main Index | Thread Index | Old Index