if_bgereg.h (226821) | if_bgereg.h (226864) |
---|---|
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 226821 2011-10-26 23:52:02Z yongari $ | 33 * $FreeBSD: head/sys/dev/bge/if_bgereg.h 226864 2011-10-27 20:54:53Z yongari $ |
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 --- 44 unchanged lines hidden (view full) --- 86#define BGE_DMA_DESCRIPTORS 0x00002000 87#define BGE_DMA_DESCRIPTORS_END 0x00003FFF 88#define BGE_SEND_RING_5717 0x00004000 89#define BGE_SEND_RING_1_TO_4 0x00004000 90#define BGE_SEND_RING_1_TO_4_END 0x00005FFF 91 92/* Firmware interface */ 93#define BGE_SRAM_DATA_SIG_MAGIC 0x4B657654 /* 'KevT' */ | 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 --- 44 unchanged lines hidden (view full) --- 86#define BGE_DMA_DESCRIPTORS 0x00002000 87#define BGE_DMA_DESCRIPTORS_END 0x00003FFF 88#define BGE_SEND_RING_5717 0x00004000 89#define BGE_SEND_RING_1_TO_4 0x00004000 90#define BGE_SEND_RING_1_TO_4_END 0x00005FFF 91 92/* Firmware interface */ 93#define BGE_SRAM_DATA_SIG_MAGIC 0x4B657654 /* 'KevT' */ |
94#define BGE_FW_DRV_ALIVE 0x00000001 95#define BGE_FW_PAUSE 0x00000002 | |
96 | 94 |
95#define BGE_FW_CMD_DRV_ALIVE 0x00000001 96#define BGE_FW_CMD_PAUSE 0x00000002 97#define BGE_FW_CMD_IPV4_ADDR_CHANGE 0x00000003 98#define BGE_FW_CMD_IPV6_ADDR_CHANGE 0x00000004 99#define BGE_FW_CMD_LINK_UPDATE 0x0000000C 100#define BGE_FW_CMD_DRV_ALIVE2 0x0000000D 101#define BGE_FW_CMD_DRV_ALIVE3 0x0000000E 102 |
|
97#define BGE_FW_DRV_STATE_START 0x00000001 98#define BGE_FW_DRV_STATE_START_DONE 0x80000001 99#define BGE_FW_DRV_STATE_UNLOAD 0x00000002 100#define BGE_FW_DRV_STATE_UNLOAD_DONE 0x80000002 101#define BGE_FW_DRV_STATE_WOL 0x00000003 102#define BGE_FW_DRV_STATE_SUSPEND 0x00000004 103 104/* Mappings for internal memory configuration */ --- 2763 unchanged lines hidden --- | 103#define BGE_FW_DRV_STATE_START 0x00000001 104#define BGE_FW_DRV_STATE_START_DONE 0x80000001 105#define BGE_FW_DRV_STATE_UNLOAD 0x00000002 106#define BGE_FW_DRV_STATE_UNLOAD_DONE 0x80000002 107#define BGE_FW_DRV_STATE_WOL 0x00000003 108#define BGE_FW_DRV_STATE_SUSPEND 0x00000004 109 110/* Mappings for internal memory configuration */ --- 2763 unchanged lines hidden --- |