From: Philip Homburg Date: Thu, 3 Nov 2005 13:42:56 +0000 (+0000) Subject: Less restrictive I/O port check. X-Git-Tag: v3.1.2a~526 X-Git-Url: http://zhaoyanbai.com/repos/%22https:/www.google.com/jsapi/static/mdoc.3.html?a=commitdiff_plain;h=83df200475a9772684e14ad4d633aafcc2be855f;p=minix.git Less restrictive I/O port check. --- 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);