diff options
author | 2011-07-03 15:47:16 +0000 | |
---|---|---|
committer | 2011-07-03 15:47:16 +0000 | |
commit | 0b1c76075d2949c11e0b9bff1e670b5d5be10297 (patch) | |
tree | 65c7b7bc5ce5a1045805e1211d2a38c5b23551b5 /sys/sys/device.h | |
parent | Call config_detach() on the child scsibus in sr_detach(). (diff) | |
download | wireguard-openbsd-0b1c76075d2949c11e0b9bff1e670b5d5be10297.tar.xz wireguard-openbsd-0b1c76075d2949c11e0b9bff1e670b5d5be10297.zip |
Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing
that's ever used it, and it's long since been changed to use
DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it
up a few weeks ago
Diffstat (limited to 'sys/sys/device.h')
-rw-r--r-- | sys/sys/device.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/sys/device.h b/sys/sys/device.h index 6a23b68bed0..ac75c800081 100644 --- a/sys/sys/device.h +++ b/sys/sys/device.h @@ -1,4 +1,4 @@ -/* $OpenBSD: device.h,v 1.43 2011/06/01 04:35:22 matthew Exp $ */ +/* $OpenBSD: device.h,v 1.44 2011/07/03 15:47:16 matthew Exp $ */ /* $NetBSD: device.h,v 1.15 1996/04/09 20:55:24 cgd Exp $ */ /* @@ -62,7 +62,6 @@ enum devclass { /* * Actions for ca_activate. */ -#define DVACT_ACTIVATE 0 /* activate the device */ #define DVACT_DEACTIVATE 1 /* deactivate the device */ #define DVACT_SUSPEND 2 /* suspend the device */ #define DVACT_RESUME 3 /* resume the device */ @@ -184,7 +183,6 @@ void config_scan(cfscan_t, struct device *); struct device *config_attach(struct device *, void *, void *, cfprint_t); int config_detach(struct device *, int); int config_detach_children(struct device *, int); -int config_activate(struct device *); int config_deactivate(struct device *); int config_suspend(struct device *, int); int config_activate_children(struct device *, int); |