Module Name: src
Committed By: jruoho
Date: Tue Aug 10 04:38:06 UTC 2010
Modified Files:
src/sys/dev/acpi: acpi_cpu_cstate.c
Log Message:
Add a XXX-comment as a TODO. From jmcneill@:
/*
* XXX: The pci_find_device(9) function only deals with
* attached devices. Change this to use something like
* pci_device_foreach(), and implement it for IA-64.
*/
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/acpi/acpi_cpu_cstate.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/dev/acpi/acpi_cpu_cstate.c
diff -u src/sys/dev/acpi/acpi_cpu_cstate.c:1.19 src/sys/dev/acpi/acpi_cpu_cstate.c:1.20
--- src/sys/dev/acpi/acpi_cpu_cstate.c:1.19 Tue Aug 10 02:42:05 2010
+++ src/sys/dev/acpi/acpi_cpu_cstate.c Tue Aug 10 04:38:06 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_cstate.c,v 1.19 2010/08/10 02:42:05 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_cstate.c,v 1.20 2010/08/10 04:38:06 jruoho Exp $ */
/*-
* Copyright (c) 2010 Jukka Ruohonen <[email protected]>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.19 2010/08/10 02:42:05 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.20 2010/08/10 04:38:06 jruoho Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -630,6 +630,11 @@
acpicpu_cstate_quirks_piix4(struct pci_attach_args *pa)
{
+ /*
+ * XXX: The pci_find_device(9) function only deals with
+ * attached devices. Change this to use something like
+ * pci_device_foreach(), and implement it for IA-64.
+ */
if (PCI_VENDOR(pa->pa_id) != PCI_VENDOR_INTEL)
return 0;