Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb missed commit should be paired with if_ure.c 1.20.



details:   https://anonhg.NetBSD.org/src/rev/e79d3aa0df99
branches:  trunk
changeset: 964614:e79d3aa0df99
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Aug 09 06:46:35 2019 +0000

description:
missed commit should be paired with if_ure.c 1.20.

diffstat:

 sys/dev/usb/if_urevar.h |  24 ++++++++----------------
 1 files changed, 8 insertions(+), 16 deletions(-)

diffs (36 lines):

diff -r 305f4651a6b3 -r e79d3aa0df99 sys/dev/usb/if_urevar.h
--- a/sys/dev/usb/if_urevar.h   Fri Aug 09 06:44:42 2019 +0000
+++ b/sys/dev/usb/if_urevar.h   Fri Aug 09 06:46:35 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_urevar.h,v 1.4 2019/08/04 09:03:46 mrg Exp $        */
+/*     $NetBSD: if_urevar.h,v 1.5 2019/08/09 06:46:35 mrg Exp $        */
 
 /*     $OpenBSD: if_urereg.h,v 1.5 2018/11/02 21:32:30 jcs Exp $       */
 /*-
@@ -79,19 +79,11 @@
 #define URE_RX_LIST_CNT                4
 #endif
 
-struct ure_softc {
-       struct usbnet           ure_un;
-
-       u_int                   ure_flags;
-#define        URE_FLAG_LINK           0x0001
+/* usbnet::un_flags values */
+#define        URE_FLAG_VER_4C00       0x0001
+#define        URE_FLAG_VER_4C10       0x0002
+#define        URE_FLAG_VER_5C00       0x0004
+#define        URE_FLAG_VER_5C10       0x0008
+#define        URE_FLAG_VER_5C20       0x0010
+#define        URE_FLAG_VER_5C30       0x0020
 #define        URE_FLAG_8152           0x1000  /* RTL8152 */
-
-       u_int                   ure_chip;
-#define        URE_CHIP_VER_4C00       0x01
-#define        URE_CHIP_VER_4C10       0x02
-#define        URE_CHIP_VER_5C00       0x04
-#define        URE_CHIP_VER_5C10       0x08
-#define        URE_CHIP_VER_5C20       0x10
-#define        URE_CHIP_VER_5C30       0x20
-
-};



Home | Main Index | Thread Index | Old Index