mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 15:38:06 +01:00
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:
parent
a680ab7537
commit
b7a7f2d19d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14920
@ -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);
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user