Module Name: src Committed By: jmcneill Date: Sat Aug 21 17:27:20 UTC 2010
Modified Files: src/sys/arch/x86/x86: x86_autoconf.c Log Message: I guess people still attach com & lpt to isa, so don't skip legacy devices. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/arch/x86/x86/x86_autoconf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x86/x86/x86_autoconf.c diff -u src/sys/arch/x86/x86/x86_autoconf.c:1.51 src/sys/arch/x86/x86/x86_autoconf.c:1.52 --- src/sys/arch/x86/x86/x86_autoconf.c:1.51 Sat Aug 21 17:10:03 2010 +++ src/sys/arch/x86/x86/x86_autoconf.c Sat Aug 21 17:27:20 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: x86_autoconf.c,v 1.51 2010/08/21 17:10:03 jmcneill Exp $ */ +/* $NetBSD: x86_autoconf.c,v 1.52 2010/08/21 17:27:20 jmcneill Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: x86_autoconf.c,v 1.51 2010/08/21 17:10:03 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: x86_autoconf.c,v 1.52 2010/08/21 17:27:20 jmcneill Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -624,11 +624,13 @@ #endif /* NPCI > 0 */ } #if NISA > 0 && NACPICA > 0 +#if notyet if (device_is_a(dev, "isa") && acpi_active) { if (!(AcpiGbl_FADT.BootFlags & ACPI_FADT_LEGACY_DEVICES)) prop_dictionary_set_bool(device_properties(dev), "no-legacy-devices", true); } +#endif #endif /* NISA > 0 && NACPICA > 0 */ #if NPCI > 0 if (device_parent(dev) && device_is_a(device_parent(dev), "pci") &&