]> err.no Git - linux-2.6/commit
[PATCH] i2c/pci: fix sis96x smbus quirk once and for all
authorMark M. Hoffman <mhoffman@lightlink.com>
Tue, 9 Jan 2007 03:11:29 +0000 (22:11 -0500)
committerLinus Torvalds <torvalds@woody.osdl.org>
Tue, 9 Jan 2007 17:07:52 +0000 (09:07 -0800)
commit2f5c33b3180169f3eafb698b66686962d637fb0e
tree6272503c1072c41181a1e00301508d3f845816ef
parentefa06708fe77190f31bed5c3cb5da49e211240f5
[PATCH] i2c/pci: fix sis96x smbus quirk once and for all

The sis96x SMBus PCI device depends on two different quirks to run
in a specific order.  Apart from being fragile, this was found to
actually break on (at least) recent FC4, FC5, and FC6 kernels.  This
patch fixes the quirks so that they work without relying on the
compiler and/or linker to put them in any specific order.

  http://lists.lm-sensors.org/pipermail/lm-sensors/2006-April/015962.html
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189719

I tested this patch.

Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Cc: Andrew Morton <akpm@osdl.org>
Cc: Adrian Bunk <bunk@stusta.de>
Cc: Greg K-H <greg@kroah.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pci/quirks.c