Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1588408 > unrolled thread

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

Started byDarren Stevens <darren@stevens-zone.net>
First post2017-02-26 23:00 +0100
Last post2017-02-26 23:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on  smbus Darren Stevens <darren@stevens-zone.net> - 2017-02-26 23:00 +0100

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

FromDarren Stevens <darren@stevens-zone.net>
Date2017-02-26 23:00 +0100
Subject[RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on smbus
Message-ID<tff1f-4dm-11@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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>

---
Resent as it doesn't seem to have reached linux-i2c mailing list.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web