Add back proper MPBIOS/MPACPI handling.

This commit is contained in:
bouyer 2006-02-07 20:38:43 +00:00
parent c071d3b194
commit 36d7bdd35a

View File

@ -1,4 +1,4 @@
/* $NetBSD: pci_machdep.c,v 1.13 2006/02/03 19:58:21 bouyer Exp $ */
/* $NetBSD: pci_machdep.c,v 1.14 2006/02/07 20:38:43 bouyer Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -80,7 +80,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.13 2006/02/03 19:58:21 bouyer Exp $");
__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.14 2006/02/07 20:38:43 bouyer Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -103,6 +103,17 @@ __KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.13 2006/02/03 19:58:21 bouyer Exp
#include <dev/pci/pcireg.h>
#include <dev/pci/pcidevs.h>
#include "opt_mpbios.h"
#include "opt_mpacpi.h"
#ifdef MPBIOS
#include <machine/mpbiosvar.h>
#endif
#ifdef MPACPI
#include <machine/mpacpi.h>
#endif
#include "opt_pci_conf_mode.h"
int pci_mode = -1;