adding minnowboard's RTL8111GS-CG ID

This commit is contained in:
Ralf Neeb 2016-02-29 22:20:54 +01:00 committed by Ralf Neeb
parent a7a79fa1f5
commit ed8e98e32a
2 changed files with 4 additions and 0 deletions

View File

@ -752,6 +752,9 @@ static void rl_reset_hw(re_t *rep)
case RL_TCR_HWVER_RTL8105E:
rep->re_model = "RTL8105E";
break;
case RL_TCR_HWVER_RTL8111GS_CG:
rep->re_model = "RTL8111GS-GC";
break;
default:
rep->re_model = "Unknown";
rep->re_mac = t;

View File

@ -112,6 +112,7 @@
#define RL_TCR_HWVER_RTL8169 0x00000000 /* RTL8169 */
#define RL_TCR_HWVER_RTL8169S 0x00800000 /* RTL8169S */
#define RL_TCR_HWVER_RTL8110S 0x04000000 /* RTL8110S */
#define RL_TCR_HWVER_RTL8111GS_CG 0x04000000 /* RTL8111GS-CG */
#define RL_TCR_HWVER_RTL8169SB 0x10000000 /* RTL8169sb/8110sb */
#define RL_TCR_HWVER_RTL8110SCd 0x18000000 /* RTL8169sc/8110sc */
#define RL_TCR_HWVER_RTL8105E 0x40800000 /* RTL8105E */