Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcsh/dev Register with pmf(9), tell it we don't ne...
details: https://anonhg.NetBSD.org/src/rev/4f4442f891d1
branches: trunk
changeset: 750153:4f4442f891d1
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sat Dec 19 07:08:23 2009 +0000
description:
Register with pmf(9), tell it we don't need anything.
Based on rev 1.23 of src/sys/arch/hpcsh/dev/j6x0tp.c
diffstat:
sys/arch/hpcsh/dev/psh3tp.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 6575715c665e -r 4f4442f891d1 sys/arch/hpcsh/dev/psh3tp.c
--- a/sys/arch/hpcsh/dev/psh3tp.c Sat Dec 19 06:39:29 2009 +0000
+++ b/sys/arch/hpcsh/dev/psh3tp.c Sat Dec 19 07:08:23 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psh3tp.c,v 1.12 2008/03/31 15:49:29 kiyohara Exp $ */
+/* $NetBSD: psh3tp.c,v 1.13 2009/12/19 07:08:23 kiyohara Exp $ */
/*
* Copyright (c) 2005 KIYOHARA Takashi
* All rights reserved.
@@ -198,6 +198,9 @@
intc_intr_establish(SH7709_INTEVT2_IRQ2,
IST_EDGE, IPL_TTY, psh3tp_intr, sc);
intc_intr_disable(SH7709_INTEVT2_IRQ2);
+
+ if (!pmf_device_register(self, NULL, NULL))
+ aprint_error_dev(self, "unable to establish power handler\n");
}
Home |
Main Index |
Thread Index |
Old Index