Tweak the version string output for ioapic devices.
This commit is contained in:
parent
3de744b5d8
commit
7542a92afa
@ -572,8 +572,9 @@ ioapic_register(void *cookie)
|
|||||||
flags = ioapic_read(apic, IOAPIC_VER) & IOART_VER_VERSION;
|
flags = ioapic_read(apic, IOAPIC_VER) & IOART_VER_VERSION;
|
||||||
STAILQ_INSERT_TAIL(&ioapic_list, io, io_next);
|
STAILQ_INSERT_TAIL(&ioapic_list, io, io_next);
|
||||||
mtx_unlock_spin(&icu_lock);
|
mtx_unlock_spin(&icu_lock);
|
||||||
printf("ioapic%u <Version %u> irqs %u-%u on motherboard\n", io->io_id,
|
printf("ioapic%u <Version %u.%u> irqs %u-%u on motherboard\n",
|
||||||
flags, io->io_intbase, io->io_intbase + io->io_numintr - 1);
|
io->io_id, flags >> 4, flags & 0xf, io->io_intbase,
|
||||||
|
io->io_intbase + io->io_numintr - 1);
|
||||||
for (i = 0, pin = io->io_pins; i < io->io_numintr; i++, pin++) {
|
for (i = 0, pin = io->io_pins; i < io->io_numintr; i++, pin++) {
|
||||||
/*
|
/*
|
||||||
* Finish initializing the pins by programming the vectors
|
* Finish initializing the pins by programming the vectors
|
||||||
|
@ -572,8 +572,9 @@ ioapic_register(void *cookie)
|
|||||||
flags = ioapic_read(apic, IOAPIC_VER) & IOART_VER_VERSION;
|
flags = ioapic_read(apic, IOAPIC_VER) & IOART_VER_VERSION;
|
||||||
STAILQ_INSERT_TAIL(&ioapic_list, io, io_next);
|
STAILQ_INSERT_TAIL(&ioapic_list, io, io_next);
|
||||||
mtx_unlock_spin(&icu_lock);
|
mtx_unlock_spin(&icu_lock);
|
||||||
printf("ioapic%u <Version %u> irqs %u-%u on motherboard\n", io->io_id,
|
printf("ioapic%u <Version %u.%u> irqs %u-%u on motherboard\n",
|
||||||
flags, io->io_intbase, io->io_intbase + io->io_numintr - 1);
|
io->io_id, flags >> 4, flags & 0xf, io->io_intbase,
|
||||||
|
io->io_intbase + io->io_numintr - 1);
|
||||||
for (i = 0, pin = io->io_pins; i < io->io_numintr; i++, pin++) {
|
for (i = 0, pin = io->io_pins; i < io->io_numintr; i++, pin++) {
|
||||||
/*
|
/*
|
||||||
* Finish initializing the pins by programming the vectors
|
* Finish initializing the pins by programming the vectors
|
||||||
|
Loading…
Reference in New Issue
Block a user