]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix VIA quirks
authorJean Delvare <jdelvare@suse.de>
Tue, 30 Jan 2007 22:36:09 +0000 (14:36 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 31 Jan 2007 00:01:35 +0000 (16:01 -0800)
commit5aa7eb42cff0b5dc0a59b2c0c2ab4155010efcf9
tree278f7a6bc61d0ec20c1e8eeb2e2a7d1597b29f8a
parent04d9d527533c0faa5463fc7343c0f56e5227affc
[PATCH] Fix VIA quirks

Fix VIA quirks that were recently broken by Alan Cox in the upstream
kernel (commit 42d50f6a9f1288f272e8fb6c654ac92941b999bb).

My understanding is that pci_find_present() doesn't work yet at the time
the quirks are run.  So I used a two-step quirk as is done for some other
quirks already.  First we detect the VIA south bridges and set the right
low and high device limits, then we are ready to actually run the quirks on
the affected devices.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Acked-by: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pci/quirks.c