mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
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.
This commit is contained in:
parent
92a50b006d
commit
a3119c562c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140585
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user