summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-03-29 15:04:14 +0000
committerbde <bde@FreeBSD.org>1996-03-29 15:04:14 +0000
commitb80fd56bd8648763726b1962de2532b3db6c29d0 (patch)
tree3c40a90aa92dd2d2b1bf6b6a861ed1a533ddd8b3 /usr.sbin/config
parente88d323eb20988f53ffb90de744aaaae4bae697f (diff)
downloadFreeBSD-src-b80fd56bd8648763726b1962de2532b3db6c29d0.zip
FreeBSD-src-b80fd56bd8648763726b1962de2532b3db6c29d0.tar.gz
Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead of
in the clk0 counter. Reviewed by: se
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/mkglue.c6
-rw-r--r--usr.sbin/config/mkioconf.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/config/mkglue.c b/usr.sbin/config/mkglue.c
index d5174c7..be623d1 100644
--- a/usr.sbin/config/mkglue.c
+++ b/usr.sbin/config/mkglue.c
@@ -359,7 +359,11 @@ vector()
fprintf(fp, "#define\tDEVICE_NAMES \"\\\n");
fprintf(fp, "clk0 irqnn\\0\\\n");
fprintf(fp, "rtc0 irqnn\\0\\\n");
- dev_id = 2;
+ fprintf(fp, "pci irqnn\\0\\\n");
+ fprintf(fp, "pci irqnn\\0\\\n");
+ fprintf(fp, "pci irqnn\\0\\\n");
+ fprintf(fp, "pci irqnn\\0\\\n");
+ dev_id = 6;
vector_devtab(fp, "bio", &dev_id);
vector_devtab(fp, "tty", &dev_id);
vector_devtab(fp, "net", &dev_id);
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c
index 9eda8f0..39a0819 100644
--- a/usr.sbin/config/mkioconf.c
+++ b/usr.sbin/config/mkioconf.c
@@ -682,7 +682,7 @@ i386_ioconf()
if (printed)
fprintf(fp1, "\n");
}
- dev_id = 2;
+ dev_id = 6; /* XXX must match mkglue.c */
isa_devtab(fp, "bio", &dev_id);
if (seen_wdc)
isa_biotab(fp, "wdc");
OpenPOWER on IntegriCloud