DORMANTno replies

[PATCH RFC] powerpc/pasemi: Remove hardcoded bus numbers on smbus

From: Darren Stevens <hidden>
Date: 2016-08-13 19:43:05

The pasemi smbus controller uses PCI_FUNC(dev->devfn) to define which
number bus to attach to, however this fails when something else is 
probed first, for example an ATI Radeon graphics card will claim 9 or
10 busses, including the ones the pasemi wants.
Patch the driver to call i2c_add_adapter rather than
i2c_add_numbered_adapter.

Signed-off-by: Darren Stevens <redacted>

---

I've tested this on my X1000, and can now see the pasemi busses when I
run i2cdetect, and can even see devices on bus 0, but as this is probably
the first time we've had this working, more testing will be needed.

I don't know why the bus tries to use bus numbers 0-2, I couldn't see
any reason, maybe Olof has an idea?

Regards
Darren

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help