aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/eisa
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>1996-02-26 01:01:41 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>1996-02-26 01:01:41 +0000
commit76e002c1027ef8e91fc7661ee991db5b3d05c125 (patch)
tree7b4279d16e9b2fa77beb41d92a0dc8e6d9b6a82a /sys/dev/eisa
parentde0d93f53ffb882e77fe7a0ffc1fa5995366e83c (diff)
downloadsrc-76e002c1027ef8e91fc7661ee991db5b3d05c125.tar.gz
src-76e002c1027ef8e91fc7661ee991db5b3d05c125.zip
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.
Notes
Notes: svn path=/head/; revision=14258
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 93fb4e77a413..881eb2de36d8 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);
}
}