summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_port.h
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-03-18 14:54:54 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-03-18 14:54:54 +0000
commit36b48a0b3e6870d4750433713c130735b020d3ee (patch)
tree65e95bbbf2273b41af7c519722c820554026cf46 /sys/dev/usb/usb_port.h
parent284fc45a1e4761e20ca244e50ae94ec40e29b128 (diff)
downloadFreeBSD-src-36b48a0b3e6870d4750433713c130735b020d3ee.zip
FreeBSD-src-36b48a0b3e6870d4750433713c130735b020d3ee.tar.gz
Get rid of the last remnants of powerhook abuse.
Diffstat (limited to 'sys/dev/usb/usb_port.h')
-rw-r--r--sys/dev/usb/usb_port.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h
index 2e86338..e6d266c 100644
--- a/sys/dev/usb/usb_port.h
+++ b/sys/dev/usb/usb_port.h
@@ -169,9 +169,8 @@ __CONCAT(dname,_detach)(self, flags) \
#define uhidpoll uhidselect
#define ugenpoll ugenselect
-#define powerhook_establish(fn, sc) 0
-#define powerhook_disestablish(hdl)
#define PWR_RESUME 0
+#define PWR_SUSPEND 1
typedef struct device device_ptr_t;
#define USBBASEDEVICE struct device
@@ -291,10 +290,8 @@ __CONCAT(dname,_detach)(self, flags) \
#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_disestablish(hdl)
-#define PWR_SUSPEND 1
#define PWR_RESUME 0
+#define PWR_SUSPEND 1
#define USB_DECLARE_DRIVER_INIT(dname, init...) \
static device_probe_t __CONCAT(dname,_match); \
OpenPOWER on IntegriCloud