Add some extra register definitions from FreeBSD and Linux:
BGE_MISC_TIMER register definition, and more bit definitions for HCC-mode. (I would credit individuals, but the attributions are buried deep in my own tree.)
This commit is contained in:
parent
82ad975738
commit
487ab6705e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_bgereg.h,v 1.15 2003/12/08 17:09:39 pooka Exp $ */
|
||||
/* $NetBSD: if_bgereg.h,v 1.16 2004/01/22 02:13:48 jonathan Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2001 Wind River Systems
|
||||
* Copyright (c) 1997, 1998, 1999, 2001
|
||||
|
@ -31,7 +31,7 @@
|
|||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD: if_bgereg.h,v 1.4 2002/04/04 06:01:31 wpaul Exp $
|
||||
* $FreeBSD: if_bgereg.h,v 1.1.2.7 2002/11/02 18:17:55 mp Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -1119,6 +1119,13 @@
|
|||
#define BGE_HCCMODE_ATTN 0x00000004
|
||||
#define BGE_HCCMODE_COAL_NOW 0x00000008
|
||||
#define BGE_HCCMODE_MSI_BITS 0x0x000070
|
||||
#define BGE_HCCMODE_64BYTE 0x00000080
|
||||
#define BGE_HCCMODE_32BYTE 0x00000100
|
||||
#define BGE_HCCMODE_CLRTICK_RXBD 0x00000200
|
||||
#define BGE_HCCMODE_CLRTICK_TXBD 0x00000400
|
||||
#define BGE_HCCMODE_NOINT_ON_NOW 0x00000800
|
||||
#define BGE_HCCMODE_NOINT_ON_FORCE 0x00001000
|
||||
|
||||
#define BGE_HCCMODE_STATBLK_SIZE 0x00000180
|
||||
|
||||
#define BGE_STATBLKSZ_FULL 0x00000000
|
||||
|
@ -1585,6 +1592,7 @@
|
|||
#define BGE_MODE_CTL 0x6800
|
||||
#define BGE_MISC_CFG 0x6804
|
||||
#define BGE_MISC_LOCAL_CTL 0x6808
|
||||
#define BGE_MISC_TIMER 0x680c
|
||||
#define BGE_EE_ADDR 0x6838
|
||||
#define BGE_EE_DATA 0x683C
|
||||
#define BGE_EE_CTL 0x6840
|
||||
|
|
Loading…
Reference in New Issue