Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb usbnet: Fix type of struct usbnet::un_ed accordi...
details: https://anonhg.NetBSD.org/src/rev/97b0e1ebc21a
branches: trunk
changeset: 362554:97b0e1ebc21a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Mar 03 05:56:36 2022 +0000
description:
usbnet: Fix type of struct usbnet::un_ed according to plan.
diffstat:
sys/dev/usb/usbnet.h | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (22 lines):
diff -r 4374a8ee6380 -r 97b0e1ebc21a sys/dev/usb/usbnet.h
--- a/sys/dev/usb/usbnet.h Thu Mar 03 05:56:28 2022 +0000
+++ b/sys/dev/usb/usbnet.h Thu Mar 03 05:56:36 2022 +0000
@@ -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 @@
/*
* 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;
Home |
Main Index |
Thread Index |
Old Index