handle NPX_CPUID. reported by Takahiro Kambe

This commit is contained in:
christos 2006-10-29 16:11:54 +00:00
parent 19b3e362f5
commit 1fb46e1531
1 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: npx_acpi.c,v 1.13 2006/10/29 09:24:47 dogcow Exp $ */
/* $NetBSD: npx_acpi.c,v 1.14 2006/10/29 16:11:54 christos Exp $ */
/*
* Copyright (c) 2002 Jared D. McNeill <jmcneill@invisible.ca>
@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: npx_acpi.c,v 1.13 2006/10/29 09:24:47 dogcow Exp $");
__KERNEL_RCSID(0, "$NetBSD: npx_acpi.c,v 1.14 2006/10/29 16:11:54 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -133,7 +133,10 @@ npx_acpi_attach(struct device *parent __unused, struct device *self, void *aux)
case NPX_EXCEPTION:
/*FALLTHROUGH*/
case NPX_CPUID:
aprint_verbose("%s: using exception 16\n", sc->sc_dev.dv_xname);
aprint_verbose("%s:%s using exception 16\n",
sc->sc_type == NPX_CPUID ? " reported by CPUID;" : "",
sc->sc_dev.dv_xname);
sc->sc_type = NPX_EXCEPTION;
break;
case NPX_BROKEN:
aprint_error("%s: error reporting broken; not using\n",