Module Name: src Committed By: mrg Date: Mon Mar 1 22:59:52 UTC 2021
Modified Files: src/sys/dev/usb: usbnet.h Log Message: note that "enum usbnet_ep un_ed" member is the wrong type, and should be "uByte un_ed", and fix when we version this next. noticed by martin@ To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/usb/usbnet.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/usbnet.h diff -u src/sys/dev/usb/usbnet.h:1.19 src/sys/dev/usb/usbnet.h:1.20 --- src/sys/dev/usb/usbnet.h:1.19 Wed Oct 28 01:51:45 2020 +++ src/sys/dev/usb/usbnet.h Mon Mar 1 22:59:52 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: usbnet.h,v 1.19 2020/10/28 01:51:45 mrg Exp $ */ +/* $NetBSD: usbnet.h,v 1.20 2021/03/01 22:59:52 mrg Exp $ */ /* * Copyright (c) 2019 Matthew R. Green @@ -261,6 +261,9 @@ 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];