[PATCH] Fix PCI ROM mapping
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 31 Aug 2005 04:16:53 +0000 (14:16 +1000)
committerLinus Torvalds <torvalds@evo.osdl.org>
Thu, 1 Sep 2005 17:50:29 +0000 (10:50 -0700)
commit8085ce084c0f0144c353963853f81486fc331120
tree6821eb3b64158ec230982f4db5f027b326edd620
parent319e76a1ae835c34a2838c2bfebe3db4d5a6b387
[PATCH] Fix PCI ROM mapping

This fixes a problem with pci_map_rom() which doesn't properly
update the ROM BAR value with the address thas allocated for it by the
PCI code. This problem, among other, breaks boot on Mac laptops.

It'ss a new version based on Linus latest one with better error
checking.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pci/rom.c