diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-10-13 19:33:20 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-10-13 19:33:20 +0000 |
commit | 6682179a1c327ebfd5a91e7dc39282434a805c2f (patch) | |
tree | 4d4643ee1beb2ad41f471df273cdcf08291d535b /sys/scsi/st.c | |
parent | 8120c6ba90a94a5745094b6f232932d0695cae1c (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/scsi/st.c')
-rw-r--r-- | sys/scsi/st.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c index 82dc5f39bb1..555f8a7e911 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -1,4 +1,4 @@ -/* $OpenBSD: st.c,v 1.86 2009/02/16 21:19:07 miod Exp $ */ +/* $OpenBSD: st.c,v 1.87 2009/10/13 19:33:19 pirofti Exp $ */ /* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */ /* @@ -223,7 +223,7 @@ struct st_softc { int stmatch(struct device *, void *, void *); void stattach(struct device *, struct device *, void *); -int stactivate(struct device *, enum devact); +int stactivate(struct device *, int); int stdetach(struct device *, int); void stminphys(struct buf *); @@ -355,7 +355,7 @@ stattach(struct device *parent, struct device *self, void *aux) } int -stactivate(struct device *self, enum devact act) +stactivate(struct device *self, int act) { struct st_softc *st = (struct st_softc *)self; int rv = 0; |