Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Change compat defines a little for power hooks.
details: https://anonhg.NetBSD.org/src/rev/ff6b7ee47f80
branches: trunk
changeset: 480582:ff6b7ee47f80
user: augustss <augustss%NetBSD.org@localhost>
date: Sun Jan 16 10:38:58 2000 +0000
description:
Change compat defines a little for power hooks.
diffstat:
sys/dev/usb/usb_port.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e80d07831c29 -r ff6b7ee47f80 sys/dev/usb/usb_port.h
--- a/sys/dev/usb/usb_port.h Sun Jan 16 10:35:24 2000 +0000
+++ b/sys/dev/usb/usb_port.h Sun Jan 16 10:38:58 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usb_port.h,v 1.18 2000/01/16 09:42:36 augustss Exp $ */
+/* $NetBSD: usb_port.h,v 1.19 2000/01/16 10:38:58 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_port.h,v 1.21 1999/11/17 22:33:47 n_hibma Exp $ */
/*
@@ -174,7 +174,7 @@
#define uhidpoll uhidselect
#define ugenpoll ugenselect
-#define powerhook_establish(fn, sc) 0
+#define powerhook_establish(fn, sc) (fn)
#define powerhook_disestablish(hdl)
#define PWR_RESUME 0
@@ -306,7 +306,7 @@
#define clalloc(p, s, x) (clist_alloc_cblocks((p), (s), (s)), 0)
#define clfree(p) clist_free_cblocks((p))
-#define powerhook_establish(fn, sc) 0
+#define powerhook_establish(fn, sc) (fn)
#define powerhook_disestablish(hdl)
#define PWR_RESUME 0
Home |
Main Index |
Thread Index |
Old Index