if_bgereg.h (119047) | if_bgereg.h (119157) |
---|---|
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 119047 2003-08-17 19:14:02Z ps $ | 33 * $FreeBSD: head/sys/dev/bge/if_bgereg.h 119157 2003-08-20 04:06:00Z ambrisko $ |
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 --- 1810 unchanged lines hidden (view full) --- 1852/* 1853 * Altima PCI vendor/device ID. 1854 */ 1855#define ALTIMA_VENDORID 0x173b 1856#define ALTIMA_DEVICE_AC1000 0x03e8 1857#define ALTIMA_DEVICE_AC9100 0x03ea 1858 1859/* | 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 --- 1810 unchanged lines hidden (view full) --- 1852/* 1853 * Altima PCI vendor/device ID. 1854 */ 1855#define ALTIMA_VENDORID 0x173b 1856#define ALTIMA_DEVICE_AC1000 0x03e8 1857#define ALTIMA_DEVICE_AC9100 0x03ea 1858 1859/* |
1860 * Dell PCI vendor ID 1861 */ 1862 1863#define DELL_VENDORID 0x1028 1864 1865/* |
|
1860 * Offset of MAC address inside EEPROM. 1861 */ 1862#define BGE_EE_MAC_OFFSET 0x7C 1863#define BGE_EE_HWCFG_OFFSET 0xC8 1864 1865#define BGE_HWCFG_VOLTAGE 0x00000003 1866#define BGE_HWCFG_PHYLED_MODE 0x0000000C 1867#define BGE_HWCFG_MEDIA 0x00000030 --- 394 unchanged lines hidden (view full) --- 2262 struct ifmedia bge_ifmedia; /* TBI media info */ 2263 u_int8_t bge_unit; /* interface number */ 2264 u_int8_t bge_extram; /* has external SSRAM */ 2265 u_int8_t bge_tbi; 2266 u_int8_t bge_rx_alignment_bug; 2267 u_int32_t bge_chipid; 2268 u_int8_t bge_asicrev; 2269 u_int8_t bge_chiprev; | 1866 * Offset of MAC address inside EEPROM. 1867 */ 1868#define BGE_EE_MAC_OFFSET 0x7C 1869#define BGE_EE_HWCFG_OFFSET 0xC8 1870 1871#define BGE_HWCFG_VOLTAGE 0x00000003 1872#define BGE_HWCFG_PHYLED_MODE 0x0000000C 1873#define BGE_HWCFG_MEDIA 0x00000030 --- 394 unchanged lines hidden (view full) --- 2268 struct ifmedia bge_ifmedia; /* TBI media info */ 2269 u_int8_t bge_unit; /* interface number */ 2270 u_int8_t bge_extram; /* has external SSRAM */ 2271 u_int8_t bge_tbi; 2272 u_int8_t bge_rx_alignment_bug; 2273 u_int32_t bge_chipid; 2274 u_int8_t bge_asicrev; 2275 u_int8_t bge_chiprev; |
2276 u_int8_t bge_no_3_led; |
|
2270 struct bge_ring_data bge_ldata; /* rings */ 2271 struct bge_chain_data bge_cdata; /* mbufs */ 2272 u_int16_t bge_tx_saved_considx; 2273 u_int16_t bge_rx_saved_considx; 2274 u_int16_t bge_ev_saved_considx; 2275 u_int16_t bge_return_ring_cnt; 2276 u_int16_t bge_std; /* current std ring head */ 2277 u_int16_t bge_jumbo; /* current jumo ring head */ --- 15 unchanged lines hidden --- | 2277 struct bge_ring_data bge_ldata; /* rings */ 2278 struct bge_chain_data bge_cdata; /* mbufs */ 2279 u_int16_t bge_tx_saved_considx; 2280 u_int16_t bge_rx_saved_considx; 2281 u_int16_t bge_ev_saved_considx; 2282 u_int16_t bge_return_ring_cnt; 2283 u_int16_t bge_std; /* current std ring head */ 2284 u_int16_t bge_jumbo; /* current jumo ring head */ --- 15 unchanged lines hidden --- |