Page 2 of 2

Re: Darren's new Nemo patches for the official Linux kernel

Posted: Wed Aug 08, 2018 10:36 am
by xeno74

Re: Darren's new Nemo patches for the official Linux kernel

Posted: Wed Aug 08, 2018 4:02 pm
by xeno74

Re: Darren's new Nemo patches for the official Linux kernel

Posted: Mon Aug 20, 2018 5:42 am
by xeno74

Re: Darren's new Nemo patches for the official Linux kernel

Posted: Mon Aug 20, 2018 1:30 pm
by xeno74
FYI:
Wolfram Sang wrote:
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, 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 <darren@stevens-zone.net>
Applied to for-next, thanks!

Disclaimer: I usually do not like to change the bus numbering because some people may rely on that. But numbering based on PCI functions seems really weak and all known users of pasemi seem to have issues here, so I make an exception.

Thanks to Michael Ellerman for the additional info.