Add pmf support.
This commit is contained in:
parent
43af10dd5c
commit
21629183b8
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pckbc_isa.c,v 1.24 2008/03/15 13:23:25 cube Exp $ */
|
||||
/* $NetBSD: pckbc_isa.c,v 1.25 2008/05/25 16:19:12 jmcneill Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998
|
||||
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pckbc_isa.c,v 1.24 2008/03/15 13:23:25 cube Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pckbc_isa.c,v 1.25 2008/05/25 16:19:12 jmcneill Exp $");
|
||||
|
||||
#include "opt_pckbc.h"
|
||||
|
||||
|
@ -203,6 +203,9 @@ pckbc_isa_attach(device_t parent, device_t self, void *aux)
|
|||
|
||||
aprint_normal("\n");
|
||||
|
||||
if (!pmf_device_register(self, NULL, pckbc_resume))
|
||||
aprint_error_dev(self, "couldn't establish power handler\n");
|
||||
|
||||
/* Finish off the attach. */
|
||||
pckbc_attach(sc);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue