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/dev/usb/if_axe.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/dev/usb/if_axe.c')
-rw-r--r-- | sys/dev/usb/if_axe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c index da15056da42..14ea82bb4e1 100644 --- a/sys/dev/usb/if_axe.c +++ b/sys/dev/usb/if_axe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_axe.c,v 1.93 2009/09/20 12:53:36 deraadt Exp $ */ +/* $OpenBSD: if_axe.c,v 1.94 2009/10/13 19:33:17 pirofti Exp $ */ /* * Copyright (c) 2005, 2006, 2007 Jonathan Gray <jsg@openbsd.org> @@ -179,7 +179,7 @@ const struct axe_type axe_devs[] = { int axe_match(struct device *, void *, void *); void axe_attach(struct device *, struct device *, void *); int axe_detach(struct device *, int); -int axe_activate(struct device *, enum devact); +int axe_activate(struct device *, int); struct cfdriver axe_cd = { NULL, "axe", DV_IFNET @@ -810,7 +810,7 @@ axe_detach(struct device *self, int flags) } int -axe_activate(struct device *self, enum devact act) +axe_activate(struct device *self, int act) { struct axe_softc *sc = (struct axe_softc *)self; |