Register to pmf(9).

This commit is contained in:
xtraeme 2007-12-09 20:59:37 +00:00
parent 14587719e2
commit 747de0248d
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: spdmem.c,v 1.3 2007/09/20 23:09:59 xtraeme Exp $ */
/* $NetBSD: spdmem.c,v 1.4 2007/12/09 20:59:37 xtraeme Exp $ */
/*
* Copyright (c) 2007 Nicolas Joly
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.3 2007/09/20 23:09:59 xtraeme Exp $");
__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.4 2007/12/09 20:59:37 xtraeme Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -390,7 +390,7 @@ spdmem_attach(struct device *parent, struct device *self, void *aux)
aprint_verbose(" (self-refreshing)");
aprint_verbose("\n");
return;
pmf_device_register(self, NULL, NULL);
}
static uint8_t

View File

@ -1,4 +1,4 @@
/* $NetBSD: itesio_isa.c,v 1.6 2007/12/01 23:40:28 jmcneill Exp $ */
/* $NetBSD: itesio_isa.c,v 1.7 2007/12/09 20:59:37 xtraeme Exp $ */
/* Derived from $OpenBSD: it.c,v 1.19 2006/04/10 00:57:54 deraadt Exp $ */
/*
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: itesio_isa.c,v 1.6 2007/12/01 23:40:28 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: itesio_isa.c,v 1.7 2007/12/09 20:59:37 xtraeme Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -240,6 +240,7 @@ itesio_isa_attach(device_t parent, device_t self, void *aux)
return;
}
sc->sc_hwmon_enabled = true;
pmf_device_register(self, NULL, NULL);
}
static int