summaryrefslogtreecommitdiff
path: root/sys/dev/ata
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2009-10-13 19:33:20 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2009-10-13 19:33:20 +0000
commit6682179a1c327ebfd5a91e7dc39282434a805c2f (patch)
tree4d4643ee1beb2ad41f471df273cdcf08291d535b /sys/dev/ata
parent8120c6ba90a94a5745094b6f232932d0695cae1c (diff)
Get rid of devact enum, substitute it with an int and coresponding defines.
This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/wd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 40558d85d74..35ead361038 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.76 2009/08/13 15:23:12 deraadt Exp $ */
+/* $OpenBSD: wd.c,v 1.77 2009/10/13 19:33:16 pirofti Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -156,7 +156,7 @@ struct wd_softc {
int wdprobe(struct device *, void *, void *);
void wdattach(struct device *, struct device *, void *);
int wddetach(struct device *, int);
-int wdactivate(struct device *, enum devact);
+int wdactivate(struct device *, int);
int wdprint(void *, char *);
struct cfattach wd_ca = {
@@ -375,7 +375,7 @@ wdattach(struct device *parent, struct device *self, void *aux)
}
int
-wdactivate(struct device *self, enum devact act)
+wdactivate(struct device *self, int act)
{
int rv = 0;