diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-04-20 01:15:41 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-04-20 01:15:41 +0000 |
commit | 7f785367825a4507df22bc668a23233754983dae (patch) | |
tree | 139757f9136694d812a0bf748804961376a294ef /sys/dev/ic | |
parent | 8b6490748527ee2ec31fb7d27d5d805cdc3dc93e (diff) |
- Recognize the 8168C chipset.
- Add some more defines for the 8168C chipset.
From NetBSD
ok dlg@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/re.c | 3 | ||||
-rw-r--r-- | sys/dev/ic/rtl81x9reg.h | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index 1ba7d9d94fa..58011d1b19d 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.80 2008/04/20 00:59:44 brad Exp $ */ +/* $OpenBSD: re.c,v 1.81 2008/04/20 01:15:40 brad Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -220,6 +220,7 @@ static const struct re_revision { { RL_HWREV_8168_SPIN2, "RTL8168 2" }, { RL_HWREV_8168_SPIN3, "RTL8168 3" }, { RL_HWREV_8100E_SPIN2, "RTL8100E 2" }, + { RL_HWREV_8168C, "RTL8168C" }, { RL_HWREV_8139CPLUS, "RTL8139C+" }, { RL_HWREV_8101, "RTL8101" }, { RL_HWREV_8100, "RTL8100" }, diff --git a/sys/dev/ic/rtl81x9reg.h b/sys/dev/ic/rtl81x9reg.h index 9d173f0ff75..169c194a62d 100644 --- a/sys/dev/ic/rtl81x9reg.h +++ b/sys/dev/ic/rtl81x9reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rtl81x9reg.h,v 1.45 2008/04/20 00:42:27 brad Exp $ */ +/* $OpenBSD: rtl81x9reg.h,v 1.46 2008/04/20 01:15:40 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -88,6 +88,9 @@ /* 005F reserved */ #define RL_TXSTAT_ALL 0x0060 /* TX status of all descriptors */ +#define RL_CSIDR 0x0064 +#define RL_CSIAR 0x0068 + /* Direct PHY access registers only available on 8139 */ #define RL_BMCR 0x0062 /* PHY basic mode control */ #define RL_BMSR 0x0064 /* PHY basic mode status */ @@ -162,6 +165,7 @@ #define RL_HWREV_8168_SPIN2 0x38000000 #define RL_HWREV_8168_SPIN3 0x38400000 #define RL_HWREV_8100E_SPIN2 0x38800000 +#define RL_HWREV_8168C 0x3C000000 #define RL_HWREV_8139 0x60000000 #define RL_HWREV_8139A 0x70000000 #define RL_HWREV_8139AG 0x70800000 |