if_bgereg.h (110367) | if_bgereg.h (114547) |
---|---|
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 110367 2003-02-05 08:54:36Z ps $ | 33 * $FreeBSD: head/sys/dev/bge/if_bgereg.h 114547 2003-05-02 19:53:40Z ps $ |
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 --- 179 unchanged lines hidden (view full) --- 221#define BGE_ASICREV_BCM5700_C0 0x72000000 222#define BGE_ASICREV_BCM5701_A0 0x00000000 /* grrrr */ 223#define BGE_ASICREV_BCM5701_B0 0x01000000 224#define BGE_ASICREV_BCM5701_B2 0x01020000 225#define BGE_ASICREV_BCM5701_B5 0x01050000 226#define BGE_ASICREV_BCM5703_A0 0x10000000 227#define BGE_ASICREV_BCM5703_A1 0x10010000 228#define BGE_ASICREV_BCM5703_A2 0x10020000 | 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 --- 179 unchanged lines hidden (view full) --- 221#define BGE_ASICREV_BCM5700_C0 0x72000000 222#define BGE_ASICREV_BCM5701_A0 0x00000000 /* grrrr */ 223#define BGE_ASICREV_BCM5701_B0 0x01000000 224#define BGE_ASICREV_BCM5701_B2 0x01020000 225#define BGE_ASICREV_BCM5701_B5 0x01050000 226#define BGE_ASICREV_BCM5703_A0 0x10000000 227#define BGE_ASICREV_BCM5703_A1 0x10010000 228#define BGE_ASICREV_BCM5703_A2 0x10020000 |
229#define BGE_ASICREV_BCM5704_A0 0x20000000 230#define BGE_ASICREV_BCM5704_A1 0x20010000 231#define BGE_ASICREV_BCM5704_A2 0x20020000 |
|
229 230/* shorthand one */ 231#define BGE_ASICREV_BCM5700 0x71000000 232 233/* PCI DMA Read/Write Control register */ 234#define BGE_PCIDMARWCTL_MINDMA 0x000000FF 235#define BGE_PCIDMARWCTL_RDADRR_BNDRY 0x00000700 236#define BGE_PCIDMARWCTL_WRADDR_BNDRY 0x00003800 --- 1539 unchanged lines hidden (view full) --- 1776 * (Note: the BCM570x still defaults to the Alteon PCI vendor ID 1777 * even though they're now manufactured by Broadcom) 1778 */ 1779#define BCOM_VENDORID 0x14E4 1780#define BCOM_DEVICEID_BCM5700 0x1644 1781#define BCOM_DEVICEID_BCM5701 0x1645 1782#define BCOM_DEVICEID_BCM5702X 0x16A6 1783#define BCOM_DEVICEID_BCM5703X 0x16A7 | 232 233/* shorthand one */ 234#define BGE_ASICREV_BCM5700 0x71000000 235 236/* PCI DMA Read/Write Control register */ 237#define BGE_PCIDMARWCTL_MINDMA 0x000000FF 238#define BGE_PCIDMARWCTL_RDADRR_BNDRY 0x00000700 239#define BGE_PCIDMARWCTL_WRADDR_BNDRY 0x00003800 --- 1539 unchanged lines hidden (view full) --- 1779 * (Note: the BCM570x still defaults to the Alteon PCI vendor ID 1780 * even though they're now manufactured by Broadcom) 1781 */ 1782#define BCOM_VENDORID 0x14E4 1783#define BCOM_DEVICEID_BCM5700 0x1644 1784#define BCOM_DEVICEID_BCM5701 0x1645 1785#define BCOM_DEVICEID_BCM5702X 0x16A6 1786#define BCOM_DEVICEID_BCM5703X 0x16A7 |
1787#define BCOM_DEVICEID_BCM5704C 0x1648 1788#define BCOM_DEVICEID_BCM5704S 0x16A8 |
|
1784 1785/* 1786 * Alteon AceNIC PCI vendor/device ID. 1787 */ 1788#define ALT_VENDORID 0x12AE 1789#define ALT_DEVICEID_ACENIC 0x0001 1790#define ALT_DEVICEID_ACENIC_COPPER 0x0002 1791#define ALT_DEVICEID_BCM5700 0x0003 --- 361 unchanged lines hidden --- | 1789 1790/* 1791 * Alteon AceNIC PCI vendor/device ID. 1792 */ 1793#define ALT_VENDORID 0x12AE 1794#define ALT_DEVICEID_ACENIC 0x0001 1795#define ALT_DEVICEID_ACENIC_COPPER 0x0002 1796#define ALT_DEVICEID_BCM5700 0x0003 --- 361 unchanged lines hidden --- |