]> git.baikalelectronics.ru Git - kernel.git/commit
Fix bogus PCI quirk for e100
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 28 Sep 2007 23:06:21 +0000 (09:06 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 28 Sep 2007 23:21:10 +0000 (16:21 -0700)
commit9163dadf6eef6fe65b9291323dc94c61d73e17d8
tree4bf2da508185000e9960761e0b57fc3e574afcb3
parent5c6fbfc9ffd5bb705dcef04f15d7b6d06c0cb047
Fix bogus PCI quirk for e100

Linas reported me that some machines were crashing at boot in
quirk_e100_interrupt. It appears that this quirk is doing an ioremap
directly on a PCI BAR value, which isn't legal and will cause all sorts
of bad things to happen on architectures where PCI BARs don't directly
match processor bus addresses.

This fixes it by using the proper PCI resources instead which is possible
since the quirk has been moved by a previous commit to happen late enough
for that.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pci/quirks.c