summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorpirofti <pirofti@openbsd.org>2009-10-13 19:33:16 +0000
committerpirofti <pirofti@openbsd.org>2009-10-13 19:33:16 +0000
commite78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00 (patch)
tree73f6f3f25e0bb936b93bd2c0bc42e990ecd3aea6 /sys/dev/softraid.c
parentsync (diff)
downloadwireguard-openbsd-e78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00.tar.xz
wireguard-openbsd-e78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00.zip
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/softraid.c')
-rw-r--r--sys/dev/softraid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index 8efb21761d9..ed343e1bf5f 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.174 2009/09/21 16:38:13 marco Exp $ */
+/* $OpenBSD: softraid.c,v 1.175 2009/10/13 19:33:16 pirofti Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -75,7 +75,7 @@ uint32_t sr_debug = 0
int sr_match(struct device *, void *, void *);
void sr_attach(struct device *, struct device *, void *);
int sr_detach(struct device *, int);
-int sr_activate(struct device *, enum devact);
+int sr_activate(struct device *, int);
struct cfattach softraid_ca = {
sizeof(struct sr_softc), sr_match, sr_attach, sr_detach,
@@ -1528,7 +1528,7 @@ sr_detach(struct device *self, int flags)
}
int
-sr_activate(struct device *self, enum devact act)
+sr_activate(struct device *self, int act)
{
return (1);
}