Module Name: src Committed By: riastradh Date: Thu Mar 3 05:56:36 UTC 2022
Modified Files: src/sys/dev/usb: usbnet.h Log Message: usbnet: Fix type of struct usbnet::un_ed according to plan. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 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.31 src/sys/dev/usb/usbnet.h:1.32 --- src/sys/dev/usb/usbnet.h:1.31 Thu Mar 3 05:56:28 2022 +++ src/sys/dev/usb/usbnet.h Thu Mar 3 05:56:36 2022 @@ -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;