summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_pcib.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-06-07 17:36:22 +0000
committerjhb <jhb@FreeBSD.org>2004-06-07 17:36:22 +0000
commit2cae646ac0b013c726300100d5ef652f52629730 (patch)
tree689b636c677a3bb9c7ecb61c2fba3ee9ae973940 /sys/dev/acpica/acpi_pcib.c
parent193fe3a27ae9c5b4d32508cdfab4fcfcd285e69a (diff)
downloadFreeBSD-src-2cae646ac0b013c726300100d5ef652f52629730.zip
FreeBSD-src-2cae646ac0b013c726300100d5ef652f52629730.tar.gz
- Use PCI_INVALID_IRQ macro rather than a magic number.
- Remove obsolete comment about APIC_IO routing.
Diffstat (limited to 'sys/dev/acpica/acpi_pcib.c')
-rw-r--r--sys/dev/acpica/acpi_pcib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c
index ee6bd6f..b14efb2 100644
--- a/sys/dev/acpica/acpi_pcib.c
+++ b/sys/dev/acpica/acpi_pcib.c
@@ -124,7 +124,7 @@ acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin,
buf.Pointer = NULL;
crsbuf.Pointer = NULL;
prsbuf.Pointer = NULL;
- interrupt = 255;
+ interrupt = PCI_INVALID_IRQ;
/* ACPI numbers pins 0-3, not 1-4 like the BIOS. */
pin--;
@@ -393,6 +393,5 @@ out:
if (buf.Pointer != NULL)
AcpiOsFree(buf.Pointer);
- /* XXX APIC_IO interrupt mapping? */
return_VALUE (interrupt);
}
OpenPOWER on IntegriCloud