spell NACPI correctly.
This commit is contained in:
parent
f73658ad42
commit
96c223fe5a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pci_intr_machdep.c,v 1.3 2006/07/04 14:53:47 christos Exp $ */
|
||||
/* $NetBSD: pci_intr_machdep.c,v 1.4 2006/07/04 18:46:42 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||
@ -80,7 +80,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pci_intr_machdep.c,v 1.3 2006/07/04 14:53:47 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pci_intr_machdep.c,v 1.4 2006/07/04 18:46:42 christos Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -102,7 +102,7 @@ __KERNEL_RCSID(0, "$NetBSD: pci_intr_machdep.c,v 1.3 2006/07/04 14:53:47 christo
|
||||
#include "opt_mpbios.h"
|
||||
#include "opt_acpi.h"
|
||||
|
||||
#if NIOAPIC > 0 || NAPCI > 0
|
||||
#if NIOAPIC > 0 || NACPI > 0
|
||||
#include <machine/i82093var.h>
|
||||
#include <machine/mpconfig.h>
|
||||
#include <machine/mpbiosvar.h>
|
||||
@ -142,7 +142,7 @@ pci_intr_map(pa, ihp)
|
||||
goto bad;
|
||||
}
|
||||
|
||||
#if NIOAPIC > 0 || NAPCI > 0
|
||||
#if NIOAPIC > 0 || NACPI > 0
|
||||
pci_decompose_tag(pc, pa->pa_tag, &bus, &dev, &func);
|
||||
if (mp_busses != NULL) {
|
||||
if (intr_find_mpmapping(bus, (dev<<2)|(rawpin-1), ihp) == 0) {
|
||||
@ -185,7 +185,7 @@ pci_intr_map(pa, ihp)
|
||||
line = 9;
|
||||
}
|
||||
}
|
||||
#if NIOAPIC > 0 || NAPCI > 0
|
||||
#if NIOAPIC > 0 || NACPI > 0
|
||||
if (mp_busses != NULL) {
|
||||
if (intr_find_mpmapping(mp_isa_bus, line, ihp) == 0) {
|
||||
if ((*ihp & 0xff) == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user