Likewise, ACPI_PCI_FIXUP has been replaced by PCI_INTR_FIXUP, and we should

notify when an old kernel config is used.  Recommended by wiz@
This commit is contained in:
sekiya 2005-06-21 11:49:10 +00:00
parent 087e54e558
commit b72e560799

View File

@ -1,4 +1,4 @@
/* $NetBSD: acpi.c,v 1.73 2005/06/21 08:19:25 sekiya Exp $ */
/* $NetBSD: acpi.c,v 1.74 2005/06/21 11:49:10 sekiya Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.73 2005/06/21 08:19:25 sekiya Exp $");
__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.74 2005/06/21 11:49:10 sekiya Exp $");
#include "opt_acpi.h"
#include "opt_pcifixup.h"
@ -97,6 +97,10 @@ __KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.73 2005/06/21 08:19:25 sekiya Exp $");
#include <dev/acpi/acpidevs_data.h>
#endif
#if defined(ACPI_PCI_FIXUP)
#error The option ACPI_PCI_FIXUP has been obsoleted by PCI_INTR_FIXUP. Please adjust your kernel configuration file.
#endif
#ifdef PCI_INTR_FIXUP
#include <dev/pci/pcidevs.h>
#endif