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/pcmcia/if_xe.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/pcmcia/if_xe.c')
-rw-r--r-- | sys/dev/pcmcia/if_xe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c index acba6c14876..778ae416423 100644 --- a/sys/dev/pcmcia/if_xe.c +++ b/sys/dev/pcmcia/if_xe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xe.c,v 1.37 2009/02/09 19:14:31 chl Exp $ */ +/* $OpenBSD: if_xe.c,v 1.38 2009/10/13 19:33:16 pirofti Exp $ */ /* * Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas @@ -115,7 +115,7 @@ int xedebug = XEDEBUG_DEF; int xe_pcmcia_match(struct device *, void *, void *); void xe_pcmcia_attach(struct device *, struct device *, void *); int xe_pcmcia_detach(struct device *, int); -int xe_pcmcia_activate(struct device *, enum devact); +int xe_pcmcia_activate(struct device *, int); /* * In case this chipset ever turns up out of pcmcia attachments (very @@ -462,7 +462,7 @@ xe_pcmcia_detach(dev, flags) int xe_pcmcia_activate(dev, act) struct device *dev; - enum devact act; + int act; { struct xe_pcmcia_softc *sc = (struct xe_pcmcia_softc *)dev; struct ifnet *ifp = &sc->sc_xe.sc_arpcom.ac_if; |