]> git.baikalelectronics.ru Git - kernel.git/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)
commit5cc55bb10c12b090de99084f03397d451e8b94da
tree6272503c1072c41181a1e00301508d3f845816ef
parent265e8107c6cf1c1a0edd5bef68a34d27a9019ec9
[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