diff options
author | bms <bms@FreeBSD.org> | 2005-01-21 17:11:38 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2005-01-21 17:11:38 +0000 |
commit | 3933cd4e50e39f163d05ea6467a683e39ee088d4 (patch) | |
tree | 619a1ff04926242507bcf40a0d17513d5fc5c1e5 /tools | |
parent | b99e3f39fed792a8e2e0c96f25e0927b5dfd2da3 (diff) | |
download | FreeBSD-src-3933cd4e50e39f163d05ea6467a683e39ee088d4.zip FreeBSD-src-3933cd4e50e39f163d05ea6467a683e39ee088d4.tar.gz |
If a device resides in physical slot 0, report it as being on-board as
per PIR specification.
Add the VIA VT82C686 PCI interrupt routing function as a known chipset.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/pirtool/pirtool.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/tools/pirtool/pirtool.c b/tools/tools/pirtool/pirtool.c index 4207e08..5e13b50 100644 --- a/tools/tools/pirtool/pirtool.c +++ b/tools/tools/pirtool/pirtool.c @@ -226,8 +226,9 @@ dump_pir_table(pir_table_t *pir, char *map_addr) p = pend = &pir->entry[0]; pend += num_slots; for (i = 0; p < pend; i++, p++) { - printf("Entry %u: Device %u:%u:%u Slot %u\r\n", i, p->bus, - PIR_DEV(p->devfunc), PIR_FUNC(p->devfunc), p->slot); + printf("Entry %u: Device %u:%u:%u Slot %u%s\r\n", i, p->bus, + PIR_DEV(p->devfunc), PIR_FUNC(p->devfunc), + p->slot, p->slot == 0 ? " (on-board)" : ""); print_irq_line('A', p->inta_link, p->inta_irqs); print_irq_line('B', p->intb_link, p->intb_irqs); print_irq_line('C', p->intc_link, p->intc_irqs); @@ -276,6 +277,8 @@ lookup_southbridge(u_int32_t id) { switch (id) { + case 0x06861106: + return ("VIA VT82C686/686A/686B"); case 0x122E8086: return ("Intel 82371FB (Triton I)"); case 0x70008086: |