]> Zhao Yanbai Git Server - minix.git/commitdiff
Less restrictive I/O port check.
authorPhilip Homburg <philip@cs.vu.nl>
Thu, 3 Nov 2005 13:42:56 +0000 (13:42 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Thu, 3 Nov 2005 13:42:56 +0000 (13:42 +0000)
drivers/fxp/fxp.c

index 80c75fafa39466305640361e1902b4b31ddfd7f7..f3b1cfc9b4271f7ba0cb3d5928cb4d97597688cd 100644 (file)
@@ -551,7 +551,7 @@ fxp_t *fp;
        pci_reserve(devind);
 
        bar= pci_attr_r32(devind, PCI_BAR_2) & 0xffffffe0;
-       if ((bar & 0x3ff) >= 0x100-32 || bar < 0x400)
+       if (bar < 0x400)
        {
                panic("FXP","fxp_probe: base address is not properly configured",
                        NO_NUM);