Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Sort RTK_HWREV_* by value.



details:   https://anonhg.NetBSD.org/src/rev/ba7969d7bf62
branches:  trunk
changeset: 461089:ba7969d7bf62
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Nov 15 13:25:53 2019 +0000

description:
Sort RTK_HWREV_* by value.

diffstat:

 sys/dev/ic/rtl81x9reg.h |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (56 lines):

diff -r 7a3ebd3c28f0 -r ba7969d7bf62 sys/dev/ic/rtl81x9reg.h
--- a/sys/dev/ic/rtl81x9reg.h   Fri Nov 15 12:38:09 2019 +0000
+++ b/sys/dev/ic/rtl81x9reg.h   Fri Nov 15 13:25:53 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index