Deleted Added
full compact
if_rlreg.h (160008) if_rlreg.h (160843)
1/*-
2 * Copyright (c) 1997, 1998-2003
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
1/*-
2 * Copyright (c) 1997, 1998-2003
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/pci/if_rlreg.h 160008 2006-06-28 16:04:54Z wpaul $
32 * $FreeBSD: head/sys/pci/if_rlreg.h 160843 2006-07-30 23:25:21Z wpaul $
33 */
34
35/*
36 * RealTek 8129/8139 register offsets
37 */
38#define RL_IDR0 0x0000 /* ID register 0 (station addr) */
39#define RL_IDR1 0x0001 /* Must use 32-bit accesses (?) */
40#define RL_IDR2 0x0002

--- 101 unchanged lines hidden (view full) ---

142#define RL_TXCFG_HWREV 0x7CC00000
143
144#define RL_LOOPTEST_OFF 0x00000000
145#define RL_LOOPTEST_ON 0x00020000
146#define RL_LOOPTEST_ON_CPLUS 0x00060000
147
148/* Known revision codes. */
149
33 */
34
35/*
36 * RealTek 8129/8139 register offsets
37 */
38#define RL_IDR0 0x0000 /* ID register 0 (station addr) */
39#define RL_IDR1 0x0001 /* Must use 32-bit accesses (?) */
40#define RL_IDR2 0x0002

--- 101 unchanged lines hidden (view full) ---

142#define RL_TXCFG_HWREV 0x7CC00000
143
144#define RL_LOOPTEST_OFF 0x00000000
145#define RL_LOOPTEST_ON 0x00020000
146#define RL_LOOPTEST_ON_CPLUS 0x00060000
147
148/* Known revision codes. */
149
150#define RL_HWREV_8169 0x00000000
151#define RL_HWREV_8110S 0x00800000
152#define RL_HWREV_8169S 0x04000000
153#define RL_HWREV_8169_8110SB 0x10000000
154#define RL_HWREV_8169_8110SC 0x18000000
155#define RL_HWREV_8168 0x30000000
156#define RL_HWREV_8100E 0x30800000
157#define RL_HWREV_8101E 0x34000000
158#define RL_HWREV_8111 0x38000000
159#define RL_HWREV_8139 0x60000000
160#define RL_HWREV_8139A 0x70000000
161#define RL_HWREV_8139AG 0x70800000
162#define RL_HWREV_8139B 0x78000000
163#define RL_HWREV_8130 0x7C000000
164#define RL_HWREV_8139C 0x74000000
165#define RL_HWREV_8139D 0x74400000
166#define RL_HWREV_8139CPLUS 0x74800000
167#define RL_HWREV_8101 0x74c00000
168#define RL_HWREV_8100 0x78800000
150#define RL_HWREV_8169 0x00000000
151#define RL_HWREV_8110S 0x00800000
152#define RL_HWREV_8169S 0x04000000
153#define RL_HWREV_8169_8110SB 0x10000000
154#define RL_HWREV_8169_8110SC 0x18000000
155#define RL_HWREV_8168_SPIN1 0x30000000
156#define RL_HWREV_8100E 0x30800000
157#define RL_HWREV_8101E 0x34000000
158#define RL_HWREV_8168_SPIN2 0x38000000
159#define RL_HWREV_8139 0x60000000
160#define RL_HWREV_8139A 0x70000000
161#define RL_HWREV_8139AG 0x70800000
162#define RL_HWREV_8139B 0x78000000
163#define RL_HWREV_8130 0x7C000000
164#define RL_HWREV_8139C 0x74000000
165#define RL_HWREV_8139D 0x74400000
166#define RL_HWREV_8139CPLUS 0x74800000
167#define RL_HWREV_8101 0x74c00000
168#define RL_HWREV_8100 0x78800000
169
170#define RL_TXDMA_16BYTES 0x00000000
171#define RL_TXDMA_32BYTES 0x00000100
172#define RL_TXDMA_64BYTES 0x00000200
173#define RL_TXDMA_128BYTES 0x00000300
174#define RL_TXDMA_256BYTES 0x00000400
175#define RL_TXDMA_512BYTES 0x00000500
176#define RL_TXDMA_1024BYTES 0x00000600

--- 798 unchanged lines hidden ---
169
170#define RL_TXDMA_16BYTES 0x00000000
171#define RL_TXDMA_32BYTES 0x00000100
172#define RL_TXDMA_64BYTES 0x00000200
173#define RL_TXDMA_128BYTES 0x00000300
174#define RL_TXDMA_256BYTES 0x00000400
175#define RL_TXDMA_512BYTES 0x00000500
176#define RL_TXDMA_1024BYTES 0x00000600

--- 798 unchanged lines hidden ---