diff options
| author | 2009-10-13 19:33:16 +0000 | |
|---|---|---|
| committer | 2009-10-13 19:33:16 +0000 | |
| commit | e78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00 (patch) | |
| tree | 73f6f3f25e0bb936b93bd2c0bc42e990ecd3aea6 /sys/dev/usb/ueagle.c | |
| parent | sync (diff) | |
| download | wireguard-openbsd-e78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00.tar.xz wireguard-openbsd-e78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00.zip | |
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/ueagle.c')
| -rw-r--r-- | sys/dev/usb/ueagle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ueagle.c b/sys/dev/usb/ueagle.c index c4066f51fd2..c10cf1d4f4e 100644 --- a/sys/dev/usb/ueagle.c +++ b/sys/dev/usb/ueagle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ueagle.c,v 1.23 2007/10/11 18:33:15 deraadt Exp $ */ +/* $OpenBSD: ueagle.c,v 1.24 2009/10/13 19:33:17 pirofti Exp $ */ /*- * Copyright (c) 2003-2006 @@ -127,7 +127,7 @@ void ueagle_stop(struct ifnet *, int); int ueagle_match(struct device *, void *, void *); void ueagle_attach(struct device *, struct device *, void *); int ueagle_detach(struct device *, int); -int ueagle_activate(struct device *, enum devact); +int ueagle_activate(struct device *, int); struct cfdriver ueagle_cd = { NULL, "ueagle", DV_DULL @@ -1460,7 +1460,7 @@ ueagle_stop(struct ifnet *ifp, int disable) } int -ueagle_activate(struct device *self, enum devact act) +ueagle_activate(struct device *self, int act) { struct ueagle_softc *sc = (struct ueagle_softc *)self; |
