diff options
author | peter <peter@FreeBSD.org> | 1997-03-29 12:04:51 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-03-29 12:04:51 +0000 |
commit | 37683aa141312336fa1439c6d7079f99a5ca64a5 (patch) | |
tree | f736b47517f5ea6337e63163b1d0c8caddac0198 /usr.sbin/config | |
parent | 4006cd9b99843dff385ff59df1cce29c89dad163 (diff) | |
download | FreeBSD-src-37683aa141312336fa1439c6d7079f99a5ca64a5.zip FreeBSD-src-37683aa141312336fa1439c6d7079f99a5ca64a5.tar.gz |
Reserve a placeholder for 4 SMP ipi interrupts in the same way that
it's done for pci. This is so that systat and vmstat can get at the
interrupt counts for the Inter-Processor Interrupts when running a smp
kernel. This doesn't affect the normal kernel, but makes life easier for
the smp people who don't have to track two versions of config.
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/mkglue.c | 6 | ||||
-rw-r--r-- | usr.sbin/config/mkioconf.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/config/mkglue.c b/usr.sbin/config/mkglue.c index be623d1..d55bca0 100644 --- a/usr.sbin/config/mkglue.c +++ b/usr.sbin/config/mkglue.c @@ -363,7 +363,11 @@ vector() fprintf(fp, "pci irqnn\\0\\\n"); fprintf(fp, "pci irqnn\\0\\\n"); fprintf(fp, "pci irqnn\\0\\\n"); - dev_id = 6; + fprintf(fp, "ipi irqnn\\0\\\n"); + fprintf(fp, "ipi irqnn\\0\\\n"); + fprintf(fp, "ipi irqnn\\0\\\n"); + fprintf(fp, "ipi irqnn\\0\\\n"); + dev_id = 10; 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 6fc69c2..17c7b75 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 = 6; /* XXX must match mkglue.c */ + dev_id = 10; /* XXX must match mkglue.c */ isa_devtab(fp, "bio", &dev_id); if (seen_wdc) isa_biotab(fp, "wdc"); |