]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd96dd62cd6bbe10a343c312a3e035bac9f1bfa86
tree9e57362eea27c60a1a8870ed21767dbf89a37867
parent3b0a8f56a14dbc5c077c6578264615bdb5a7c28f
[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