Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead of

in the clk0 counter.

Reviewed by:	se
This commit is contained in:
Bruce Evans 1996-03-29 15:04:14 +00:00
parent a680ab7537
commit b7a7f2d19d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14920
2 changed files with 6 additions and 2 deletions

View File

@ -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);

View File

@ -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");