[PATCH] Fix VIA quirks
Fix VIA quirks that were recently broken by Alan Cox in the upstream kernel (commit 1597cacb). 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: NJean Delvare <jdelvare@suse.de> Acked-by: NAlan Cox <alan@lxorguk.ukuu.org.uk> Acked-by: NNick Piggin <nickpiggin@yahoo.com.au> Cc: Greg KH <greg@kroah.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录