Skip to content
Browse files

Remove comment; the question can be answerd affirmative. Fix a coding…

… style

nit while I'm there.
  • Loading branch information...
1 parent 820f9f1 commit 9751c082e0ecb510e0097a101ebc648370ce355b Mark Kettenis committed Oct 23, 2011
Showing with 2 additions and 7 deletions.
  1. +2 −7 sys/arch/i386/pci/pci_machdep.c
View
9 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;

0 comments on commit 9751c08

Please sign in to comment.
Something went wrong with that request. Please try again.