Update for structure changes.
This commit is contained in:
parent
3c3855c148
commit
a4061d6dec
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: npx_acpi.c,v 1.1 2002/12/28 17:51:16 jmcneill Exp $ */
|
||||
/* $NetBSD: npx_acpi.c,v 1.2 2003/10/31 21:49:39 mycroft 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.1 2002/12/28 17:51:16 jmcneill Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: npx_acpi.c,v 1.2 2003/10/31 21:49:39 mycroft Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -75,7 +75,7 @@ npx_acpi_match(struct device *parent, struct cfdata *match, void *aux)
|
|||
return 0;
|
||||
|
||||
for (i = 0; (id = npx_acpi_ids[i]) != NULL; ++i) {
|
||||
if (strcmp(aa->aa_node->ad_devinfo.HardwareId, id) == 0)
|
||||
if (strcmp(aa->aa_node->ad_devinfo.HardwareId.Value, id) == 0)
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: spic_acpi.c,v 1.5 2002/12/28 20:06:07 christos Exp $ */
|
||||
/* $NetBSD: spic_acpi.c,v 1.6 2003/10/31 21:49:39 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: spic_acpi.c,v 1.5 2002/12/28 20:06:07 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: spic_acpi.c,v 1.6 2003/10/31 21:49:39 mycroft Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -78,7 +78,7 @@ spic_acpi_match(struct device *parent, struct cfdata *match, void *aux)
|
|||
if (aa->aa_node->ad_type != ACPI_TYPE_DEVICE)
|
||||
return (0);
|
||||
|
||||
if (strcmp(aa->aa_node->ad_devinfo.HardwareId, "SNY6001") == 0)
|
||||
if (strcmp(aa->aa_node->ad_devinfo.HardwareId.Value, "SNY6001") == 0)
|
||||
return (1);
|
||||
|
||||
return (0);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vald_acpi.c,v 1.13 2003/08/05 14:24:45 kanaoka Exp $ */
|
||||
/* $NetBSD: vald_acpi.c,v 1.14 2003/10/31 21:49:39 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -83,7 +83,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: vald_acpi.c,v 1.13 2003/08/05 14:24:45 kanaoka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: vald_acpi.c,v 1.14 2003/10/31 21:49:39 mycroft Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -173,7 +173,7 @@ vald_acpi_match(struct device *parent, struct cfdata *match, void *aux)
|
|||
if (aa->aa_node->ad_type != ACPI_TYPE_DEVICE)
|
||||
return (0);
|
||||
|
||||
if (strcmp(aa->aa_node->ad_devinfo.HardwareId, "TOS6200") == 0)
|
||||
if (strcmp(aa->aa_node->ad_devinfo.HardwareId.Value, "TOS6200") == 0)
|
||||
return (1);
|
||||
|
||||
return (0);
|
||||
|
|
Loading…
Reference in New Issue