summaryrefslogtreecommitdiffstats
path: root/sys/dev/eisa
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-02-26 01:01:41 +0000
committergibbs <gibbs@FreeBSD.org>1996-02-26 01:01:41 +0000
commita33532efc7af65c8355eab01e95bf32274931c59 (patch)
tree7b4279d16e9b2fa77beb41d92a0dc8e6d9b6a82a /sys/dev/eisa
parent6fa81ce17be1584d0d27f63c6e03b30005e0add4 (diff)
downloadFreeBSD-src-a33532efc7af65c8355eab01e95bf32274931c59.zip
FreeBSD-src-a33532efc7af65c8355eab01e95bf32274931c59.tar.gz
3c5x9.c:
The eisaconf probe for the 3Com 3c579 and the 3c509 when in eisa configuration mode. aha1742.c aic7770.c bt74x.c: Only call eisa_registerdev after the probe is successfully. eisaconf.c: Increase kdc->kdc_datalen during the eisa_reg* functions instead of in the eisa_add* functions since eisa_registerdev has already been called and we have a kdc to manipulate.
Diffstat (limited to 'sys/dev/eisa')
-rw-r--r--sys/dev/eisa/eisaconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c
index 93fb4e7..881eb2d 100644
--- a/sys/dev/eisa/eisaconf.c
+++ b/sys/dev/eisa/eisaconf.c
@@ -18,7 +18,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: eisaconf.c,v 1.14 1996/01/31 18:02:19 gibbs Exp $
+ * $Id: eisaconf.c,v 1.15 1996/01/31 18:46:36 gibbs Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@@ -551,7 +551,6 @@ eisa_add_resvaddr(e_dev, head, base, size, flags)
}
}
}
- e_dev->kdc->kdc_datalen += sizeof(resvaddr_t);
return (0);
}
@@ -612,6 +611,7 @@ eisa_reg_resvaddr(e_dev, head, resvaddr, reg_count)
eisa_reg_print(e_dev, buf,
*reg_count ? &separator : NULL);
(*reg_count)++;
+ e_dev->kdc->kdc_datalen += sizeof(resvaddr_t);
return (0);
}
}
OpenPOWER on IntegriCloud