Re: [RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on smbus

2018-08-20 Thread Wolfram Sang
On Sun, Dec 31, 2017 at 08:53:55PM +, Darren Stevens wrote: > 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, includin

[RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on smbus

2017-12-31 Thread Darren Stevens
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 ra

[RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on smbus

2017-02-26 Thread Darren Stevens
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 ra