summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-10-23 21:18:15 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-10-23 21:18:15 +0000
commita559eaf9ae32c0960d93be6daa1100da31d866ca (patch)
tree36b581cba9158b27e920c1c9519c9e7b489373d7 /sys/arch/i386
parent40c36c113a7f45bfbd3f9d8647a9d6d6a6678473 (diff)
Remove comment; the question can be answerd affirmative. Fix a coding style
nit while I'm there.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/pci/pci_machdep.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/arch/i386/pci/pci_machdep.c b/sys/arch/i386/pci/pci_machdep.c
index 55394bafcf9..7322263acd6 100644
--- a/sys/arch/i386/pci/pci_machdep.c
+++ b/sys/arch/i386/pci/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.65 2011/10/21 18:16:13 kettenis Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.66 2011/10/23 21:18:14 kettenis Exp $ */
/* $NetBSD: pci_machdep.c,v 1.28 1997/06/06 23:29:17 thorpej Exp $ */
/*-
@@ -632,12 +632,7 @@ pci_intr_map(struct pci_attach_args *pa, pci_intr_handle_t *ihp)
pci_decompose_tag (pa->pa_pc, pa->pa_tag, &bus, &dev, &func);
if (!(ihp->line & PCI_INT_VIA_ISA) && mp_busses != NULL) {
- /*
- * Assumes 1:1 mapping between PCI bus numbers and
- * the numbers given by the MP bios.
- * XXX Is this a valid assumption?
- */
- int mpspec_pin = (dev<<2)|(pin-1);
+ int mpspec_pin = (dev << 2) | (pin - 1);
if (bus < mp_nbusses) {
for (mip = mp_busses[bus].mb_intrs;