summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2022-03-03 05:56:36 +0000
committerriastradh <riastradh@NetBSD.org>2022-03-03 05:56:36 +0000
commit8639f453f4159c25b8a2aac2184bf3b60764efdb (patch)
tree011a5b3640f76467af93615917b65dc6b246ca97 /sys/dev
parentdac22750a7062d36b5b0612141492bdbc5af8a9c (diff)
usbnet: Fix type of struct usbnet::un_ed according to plan.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/usbnet.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/usb/usbnet.h b/sys/dev/usb/usbnet.h
index f40a8c7525a..6094af04e5a 100644
--- a/sys/dev/usb/usbnet.h
+++ b/sys/dev/usb/usbnet.h
@@ -1,4 +1,4 @@
-/* $NetBSD: usbnet.h,v 1.31 2022/03/03 05:56:28 riastradh Exp $ */
+/* $NetBSD: usbnet.h,v 1.32 2022/03/03 05:56:36 riastradh Exp $ */
/*
* Copyright (c) 2019 Matthew R. Green
@@ -262,11 +262,8 @@ struct usbnet {
/*
* This section should be filled in before calling
* usbnet_attach_ifp().
- *
- * XXX This should be of type "uByte". enum usbnet_ep
- * is the index. Fix this in a kernel version bump.
*/
- enum usbnet_ep un_ed[USBNET_ENDPT_MAX];
+ uByte un_ed[USBNET_ENDPT_MAX];
/* MII specific. Not used without MII. */
int un_phyno;