Deleted Added
full compact
if_bgereg.h (135772) if_bgereg.h (137073)
1/*
2 * Copyright (c) 2001 Wind River Systems
3 * Copyright (c) 1997, 1998, 1999, 2001
4 * Bill Paul <wpaul@windriver.com>. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

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

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

25 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
31 * THE POSSIBILITY OF SUCH DAMAGE.
32 *
33 * $FreeBSD: head/sys/dev/bge/if_bgereg.h 135772 2004-09-24 22:24:33Z ps $
33 * $FreeBSD: head/sys/dev/bge/if_bgereg.h 137073 2004-10-30 14:54:51Z des $
34 */
35
36/*
37 * BCM570x memory map. The internal memory layout varies somewhat
38 * depending on whether or not we have external SSRAM attached.
39 * The BCM5700 can have up to 16MB of external memory. The BCM5701
40 * is apparently not designed to use external SSRAM. The mappings
41 * up to the first 4 send rings are the same for both internal and

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

1900#define SK_SUBSYSID_9D41 0x4441
1901
1902/*
1903 * Altima PCI vendor/device ID.
1904 */
1905#define ALTIMA_VENDORID 0x173b
1906#define ALTIMA_DEVICE_AC1000 0x03e8
1907#define ALTIMA_DEVICE_AC1002 0x03e9
34 */
35
36/*
37 * BCM570x memory map. The internal memory layout varies somewhat
38 * depending on whether or not we have external SSRAM attached.
39 * The BCM5700 can have up to 16MB of external memory. The BCM5701
40 * is apparently not designed to use external SSRAM. The mappings
41 * up to the first 4 send rings are the same for both internal and

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

1900#define SK_SUBSYSID_9D41 0x4441
1901
1902/*
1903 * Altima PCI vendor/device ID.
1904 */
1905#define ALTIMA_VENDORID 0x173b
1906#define ALTIMA_DEVICE_AC1000 0x03e8
1907#define ALTIMA_DEVICE_AC1002 0x03e9
1908#define ALTIMA_DEVICE_AC9100 0x03ea
1908#define ALTIMA_DEVICE_AC9100 0x03ea
1909
1910/*
1911 * Dell PCI vendor ID
1912 */
1913
1914#define DELL_VENDORID 0x1028
1915
1916/*

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

2144 * Other utility macros.
2145 */
2146#define BGE_INC(x, y) (x) = (x + 1) % y
2147
2148/*
2149 * Vital product data and structures.
2150 */
2151#define BGE_VPD_FLAG 0x8000
1909
1910/*
1911 * Dell PCI vendor ID
1912 */
1913
1914#define DELL_VENDORID 0x1028
1915
1916/*

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

2144 * Other utility macros.
2145 */
2146#define BGE_INC(x, y) (x) = (x + 1) % y
2147
2148/*
2149 * Vital product data and structures.
2150 */
2151#define BGE_VPD_FLAG 0x8000
2152
2152
2153/* VPD structures */
2154struct vpd_res {
2155 u_int8_t vr_id;
2156 u_int8_t vr_len;
2157 u_int8_t vr_pad;
2158};
2153/* VPD structures */
2154struct vpd_res {
2155 u_int8_t vr_id;
2156 u_int8_t vr_len;
2157 u_int8_t vr_pad;
2158};
2159
2159
2160struct vpd_key {
2161 char vk_key[2];
2162 u_int8_t vk_len;
2163};
2160struct vpd_key {
2161 char vk_key[2];
2162 u_int8_t vk_len;
2163};
2164
2164
2165#define VPD_RES_ID 0x82 /* ID string */
2166#define VPD_RES_READ 0x90 /* start of read only area */
2167#define VPD_RES_WRITE 0x81 /* start of read/write area */
2168#define VPD_RES_END 0x78 /* end tag */
2169
2170
2171/*
2172 * Register access macros. The Tigon always uses memory mapped register

--- 187 unchanged lines hidden ---
2165#define VPD_RES_ID 0x82 /* ID string */
2166#define VPD_RES_READ 0x90 /* start of read only area */
2167#define VPD_RES_WRITE 0x81 /* start of read/write area */
2168#define VPD_RES_END 0x78 /* end tag */
2169
2170
2171/*
2172 * Register access macros. The Tigon always uses memory mapped register

--- 187 unchanged lines hidden ---