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_cdce.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_cdce.c')
-rw-r--r-- | sys/dev/usb/if_cdce.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_cdce.c b/sys/dev/usb/if_cdce.c index aad335ad37a..c7acf64aa7b 100644 --- a/sys/dev/usb/if_cdce.c +++ b/sys/dev/usb/if_cdce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cdce.c,v 1.43 2008/11/28 02:44:18 brad Exp $ */ +/* $OpenBSD: if_cdce.c,v 1.44 2009/10/13 19:33:17 pirofti Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000-2003 Bill Paul <wpaul@windriver.com> @@ -116,7 +116,7 @@ const struct cdce_type cdce_devs[] = { int cdce_match(struct device *, void *, void *); void cdce_attach(struct device *, struct device *, void *); int cdce_detach(struct device *, int); -int cdce_activate(struct device *, enum devact); +int cdce_activate(struct device *, int); struct cfdriver cdce_cd = { NULL, "cdce", DV_IFNET @@ -871,7 +871,7 @@ cdce_txeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) } int -cdce_activate(struct device *self, enum devact act) +cdce_activate(struct device *self, int act) { struct cdce_softc *sc = (struct cdce_softc *)self; |