Module Name:    src
Committed By:   msaitoh
Date:           Fri Nov 15 13:25:53 UTC 2019

Modified Files:
        src/sys/dev/ic: rtl81x9reg.h

Log Message:
 Sort RTK_HWREV_* by value.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/ic/rtl81x9reg.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/ic/rtl81x9reg.h
diff -u src/sys/dev/ic/rtl81x9reg.h:1.50 src/sys/dev/ic/rtl81x9reg.h:1.51
--- src/sys/dev/ic/rtl81x9reg.h:1.50	Fri Apr  5 23:46:04 2019
+++ src/sys/dev/ic/rtl81x9reg.h	Fri Nov 15 13:25:53 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: rtl81x9reg.h,v 1.50 2019/04/05 23:46:04 uwe Exp $	*/
+/*	$NetBSD: rtl81x9reg.h,v 1.51 2019/11/15 13:25:53 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 1997, 1998
@@ -149,7 +149,7 @@
 #define RTK_TXCFG_IFG		0x03000000	/* interframe gap */
 #define RTK_TXCFG_HWREV		0x7CC00000
 
-#define RTK_LOOPTEST_OFF		0x00000000
+#define RTK_LOOPTEST_OFF	0x00000000
 #define RTK_LOOPTEST_ON		0x00020000
 #define RTK_LOOPTEST_ON_CPLUS	0x00060000
 
@@ -166,11 +166,6 @@
 #define RTK_HWREV_8168E		0x2C000000
 #define RTK_HWREV_8168E_VL	0x2C800000
 #define RTK_HWREV_8168_SPIN1	0x30000000
-#define RTK_HWREV_8168G		0x4c000000
-#define RTK_HWREV_8168G_SPIN1	0x4c100000
-#define RTK_HWREV_8168G_SPIN2	0x50900000
-#define RTK_HWREV_8168G_SPIN4	0x5c800000
-#define RTK_HWREV_8168GU	0x50800000
 #define RTK_HWREV_8100E		0x30800000
 #define RTK_HWREV_8101E		0x34000000
 #define RTK_HWREV_8102E		0x34800000
@@ -181,18 +176,23 @@
 #define RTK_HWREV_8168C_SPIN2	0x3C400000
 #define RTK_HWREV_8168CP	0x3C800000
 #define RTK_HWREV_8168F		0x48000000
+#define RTK_HWREV_8168G		0x4c000000
+#define RTK_HWREV_8168G_SPIN1	0x4c100000
+#define RTK_HWREV_8168GU	0x50800000
+#define RTK_HWREV_8168G_SPIN2	0x50900000
 #define RTK_HWREV_8168H		0x54000000
 #define RTK_HWREV_8168H_SPIN1	0x54100000
+#define RTK_HWREV_8168G_SPIN4	0x5c800000
 #define RTK_HWREV_8139		0x60000000
 #define RTK_HWREV_8139A		0x70000000
 #define RTK_HWREV_8139AG	0x70800000
-#define RTK_HWREV_8139B		0x78000000
-#define RTK_HWREV_8130		0x7C000000
 #define RTK_HWREV_8139C		0x74000000
 #define RTK_HWREV_8139D		0x74400000
 #define RTK_HWREV_8139CPLUS	0x74800000
 #define RTK_HWREV_8101		0x74c00000
+#define RTK_HWREV_8139B		0x78000000
 #define RTK_HWREV_8100		0x78800000
+#define RTK_HWREV_8130		0x7C000000
 #define RTK_HWREV_8169_8110SBL	0x7cc00000
 
 #define RTK_TXDMA_16BYTES	0x00000000

Reply via email to