From f568c6347c453b53bc60f703a331f7a23be0f516 Mon Sep 17 00:00:00 2001 From: hannken Date: Sat, 10 Oct 1998 13:43:10 +0000 Subject: [PATCH] Fix last commit -- NISADMA is either 0 or 1. --- sys/dev/isapnp/isapnp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/isapnp/isapnp.c b/sys/dev/isapnp/isapnp.c index 703e380cf8e3..013fb9868987 100644 --- a/sys/dev/isapnp/isapnp.c +++ b/sys/dev/isapnp/isapnp.c @@ -1,4 +1,4 @@ -/* $NetBSD: isapnp.c,v 1.28 1998/10/08 19:59:20 thorpej Exp $ */ +/* $NetBSD: isapnp.c,v 1.29 1998/10/10 13:43:10 hannken Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -263,7 +263,7 @@ isapnp_alloc_drq(ic, i) isa_chipset_tag_t ic; struct isapnp_pin *i; { -#if NISADMA > 1 +#if NISADMA > 0 int b; if (i->bits == 0) { @@ -276,7 +276,7 @@ isapnp_alloc_drq(ic, i) i->num = b; return 0; } -#endif /* NISADMA > 1 */ +#endif /* NISADMA > 0 */ return EINVAL; }