From a559eaf9ae32c0960d93be6daa1100da31d866ca Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 23 Oct 2011 21:18:15 +0000 Subject: Remove comment; the question can be answerd affirmative. Fix a coding style nit while I'm there. --- sys/arch/i386/pci/pci_machdep.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'sys/arch/i386') 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; -- cgit v1.2.3