From 83df200475a9772684e14ad4d633aafcc2be855f Mon Sep 17 00:00:00 2001 From: Philip Homburg Date: Thu, 3 Nov 2005 13:42:56 +0000 Subject: [PATCH] Less restrictive I/O port check. --- drivers/fxp/fxp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fxp/fxp.c b/drivers/fxp/fxp.c index 80c75fafa..f3b1cfc9b 100644 --- a/drivers/fxp/fxp.c +++ b/drivers/fxp/fxp.c @@ -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); -- 2.44.0