1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

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.
This commit is contained in:
Peter Wemm 1997-03-29 12:04:51 +00:00
parent e58a2e4c46
commit 0f459420f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24376
2 changed files with 6 additions and 2 deletions

View File

@ -363,7 +363,11 @@ vector()
fprintf(fp, "pci irqnn\\0\\\n"); fprintf(fp, "pci irqnn\\0\\\n");
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; 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, "bio", &dev_id);
vector_devtab(fp, "tty", &dev_id); vector_devtab(fp, "tty", &dev_id);
vector_devtab(fp, "net", &dev_id); vector_devtab(fp, "net", &dev_id);

View File

@ -682,7 +682,7 @@ i386_ioconf()
if (printed) if (printed)
fprintf(fp1, "\n"); 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); isa_devtab(fp, "bio", &dev_id);
if (seen_wdc) if (seen_wdc)
isa_biotab(fp, "wdc"); isa_biotab(fp, "wdc");