patch-2.3.46 linux/arch/i386/kernel/pci-i386.c

Next file: linux/arch/i386/mm/init.c
Previous file: linux/arch/i386/kernel/pci-dma.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.45/linux/arch/i386/kernel/pci-i386.c linux/arch/i386/kernel/pci-i386.c
@@ -132,7 +132,7 @@
 		/* We need to avoid collisions with `mirrored' VGA ports
 		   and other strange ISA hardware, so we always want the
 		   addresses kilobyte aligned.  */
-		if (size >= 0x100) {
+		if (size > 0x100) {
 			printk(KERN_ERR "PCI: I/O Region %s/%d too large"
 			       " (%ld bytes)\n", dev->slot_name,
 			       dev->resource - res, size);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)