[PATCH] PCI: Adjust PCI rom code to handle more broken ROMs
authorJon Smirl <jonsmirl@gmail.com>
Fri, 29 Jul 2005 19:16:17 +0000 (12:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 20:12:51 +0000 (13:12 -0700)
commit761a3ac08c63718dacde12aaf0ec6d6760e8c2b7
tree9e57362eea27c60a1a8870ed21767dbf89a37867
parente96e2f148060330f6178b502574dcb81eb7318bf
[PATCH] PCI: Adjust PCI rom code to handle more broken ROMs

There are ROMs reporting that their size exceeds their PCI ROM
resource window. This patch returns the minimum of the resource window
size or the size in the ROM.  An example of this breakage is the XGI
Volari Z7.

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pci/rom.c