From 6682179a1c327ebfd5a91e7dc39282434a805c2f Mon Sep 17 00:00:00 2001 From: Paul Irofti Date: Tue, 13 Oct 2009 19:33:20 +0000 Subject: 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@. --- sys/dev/usb/if_axe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/usb/if_axe.c') 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 @@ -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; -- cgit v1.2.3