Define a "page 3", used on some chips which emulate a dp8390, but also

provide extensions.
This commit is contained in:
thorpej 1998-10-27 23:34:17 +00:00
parent 925077cfb9
commit 3a9e6f3a29
1 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dp8390reg.h,v 1.3 1997/04/29 04:32:08 scottr Exp $ */
/* $NetBSD: dp8390reg.h,v 1.4 1998/10/27 23:34:17 thorpej Exp $ */
/*
* National Semiconductor DS8390 NIC register definitions.
@ -148,14 +148,15 @@
* 0 0 0
* 0 1 1
* 1 0 2
* 1 1 reserved
* 1 1 3 (only on chips which have extensions to the dp8390)
*/
#define ED_CR_PS0 0x40
#define ED_CR_PS1 0x80
/* bit encoded aliases */
#define ED_CR_PAGE_0 0x00 /* (for consistency) */
#define ED_CR_PAGE_1 0x40
#define ED_CR_PAGE_2 0x80
#define ED_CR_PAGE_1 (ED_CR_PS0)
#define ED_CR_PAGE_2 (ED_CR_PS1)
#define ED_CR_PAGE_3 (ED_CR_PS1|ED_CR_PS0)
/*
* Interrupt Status Register (ISR) definitions