diff options
author | Can Erkin Acar <canacar@cvs.openbsd.org> | 2005-08-04 06:59:37 +0000 |
---|---|---|
committer | Can Erkin Acar <canacar@cvs.openbsd.org> | 2005-08-04 06:59:37 +0000 |
commit | 54b5937977a06e34c35f2d490a844c7daee907fe (patch) | |
tree | abe6d485eabc5c56da2e9c5aa35d3028408c293d /sys/dev/usb | |
parent | bef661e4971c9dd8ccf30f54b3d4c11ea32e9d82 (diff) |
Include if_ether.h and use better usbd_devinfo_alloc argument. ok brad@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/ueagle.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/ueagle.c b/sys/dev/usb/ueagle.c index 0a16f941992..5bb586e1135 100644 --- a/sys/dev/usb/ueagle.c +++ b/sys/dev/usb/ueagle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ueagle.c,v 1.6 2005/08/01 05:36:48 brad Exp $ */ +/* $OpenBSD: ueagle.c,v 1.7 2005/08/04 06:59:36 canacar Exp $ */ /*- * Copyright (c) 2003-2005 @@ -43,6 +43,7 @@ #ifdef INET #include <netinet/in.h> #include <netinet/if_atm.h> +#include <netinet/if_ether.h> #endif #include <dev/usb/usb.h> @@ -179,7 +180,7 @@ USB_ATTACH(ueagle) USB_ATTACH_SUCCESS_RETURN; } - devinfop = usbd_devinfo_alloc(dev, 0); + devinfop = usbd_devinfo_alloc(sc->sc_udev, 0); printf("%s: %s\n", USBDEVNAME(sc->sc_dev), devinfop); usbd_devinfo_free(devinfop); |