summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1999-05-24 18:50:41 +0000
committerDoug Rabson <dfr@FreeBSD.org>1999-05-24 18:50:41 +0000
commit1522abdd5e736262d70d9e772c196dadb8dd85e9 (patch)
tree88b5efa0031e5d0e2c6a1813dd01390b758b0558
parent3172992e9d5fc38743c0dae07112a3d6d84d3924 (diff)
Notes
-rw-r--r--sys/i386/isa/isa_compat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/isa/isa_compat.c b/sys/i386/isa/isa_compat.c
index 2bf53779d0fe..c5dfd4236bc8 100644
--- a/sys/i386/isa/isa_compat.c
+++ b/sys/i386/isa/isa_compat.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: isa_compat.c,v 1.9 1999/05/08 21:59:25 dfr Exp $
+ * $Id: isa_compat.c,v 1.10 1999/05/22 15:18:12 dfr Exp $
*/
#include <sys/param.h>
@@ -81,7 +81,8 @@ isa_compat_alloc_resources(device_t dev, struct isa_compat_resources *res)
res->ports = 0;
if (ISA_GET_RESOURCE(parent, dev, SYS_RES_MEMORY, 0,
- &start, &count) == 0) {
+ &start, &count) == 0
+ && start != 0) {
rid = 0;
res->memory = bus_alloc_resource(dev, SYS_RES_MEMORY,
&rid, 0ul, ~0ul, 1,