Module Name: src Committed By: uwe Date: Sun Apr 5 00:22:53 UTC 2009
Modified Files: src/sys/arch/sh3/dev: scif.c Log Message: Register null hooks with pmf(9) for now, which is no worse than before and allows us to test other things. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/sh3/dev/scif.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/arch/sh3/dev/scif.c diff -u src/sys/arch/sh3/dev/scif.c:1.58 src/sys/arch/sh3/dev/scif.c:1.59 --- src/sys/arch/sh3/dev/scif.c:1.58 Wed Mar 18 10:22:36 2009 +++ src/sys/arch/sh3/dev/scif.c Sun Apr 5 00:22:53 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: scif.c,v 1.58 2009/03/18 10:22:36 cegger Exp $ */ +/* $NetBSD: scif.c,v 1.59 2009/04/05 00:22:53 uwe Exp $ */ /*- * Copyright (C) 1999 T.Horiuchi and SAITOH Masanobu. All rights reserved. @@ -93,7 +93,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: scif.c,v 1.58 2009/03/18 10:22:36 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: scif.c,v 1.59 2009/04/05 00:22:53 uwe Exp $"); #include "opt_kgdb.h" #include "opt_scif.h" @@ -494,6 +494,10 @@ sc->sc_ebuf = sc->sc_rbuf + (scif_rbuf_size << 1); tty_attach(tp); + + /* XXX: TODO */ + if (!pmf_device_register(self, NULL, NULL)) + aprint_error_dev(self, "unable to establish power handler\n"); } /*