]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitc9e405e37e2f747a2406d43ebfe0051d41c89ad9
tree6821eb3b64158ec230982f4db5f027b326edd620
parent80fe72aba0891f42d1cba6df414932c049563573
[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