diff options
author | kato <kato@FreeBSD.org> | 1998-02-10 03:22:20 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-02-10 03:22:20 +0000 |
commit | 2bf76104204e2c31aec7e45e5af9ac1596d83958 (patch) | |
tree | b163bfee8c8f83ec355bc2eae02a97779d090d7c /sys/i386/isa/if_lnc.h | |
parent | 8b0f1ac87b298f08db63ee0a20f461649805e00a (diff) | |
download | FreeBSD-src-2bf76104204e2c31aec7e45e5af9ac1596d83958.zip FreeBSD-src-2bf76104204e2c31aec7e45e5af9ac1596d83958.tar.gz |
Support C-NET(98)S ethernet card (PC-98 only).
Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>
Diffstat (limited to 'sys/i386/isa/if_lnc.h')
-rw-r--r-- | sys/i386/isa/if_lnc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/i386/isa/if_lnc.h b/sys/i386/isa/if_lnc.h index 843f5a5..001ea68 100644 --- a/sys/i386/isa/if_lnc.h +++ b/sys/i386/isa/if_lnc.h @@ -54,6 +54,20 @@ /* DEPCA specific defines */ #define DEPCA_ADDR_ROM_SIZE 32 +#ifdef PC98 +/* C-NET(98)S port addresses */ +#define CNET98S_RDP 0x400 /* Register Data Port */ +#define CNET98S_RAP 0x402 /* Register Address Port */ +#define CNET98S_RESET 0x404 +#define CNET98S_IDP 0x406 +#define CNET98S_EEPROM 0x40e +/* + * XXX - The I/O address range is fragmented in the C-NET(98)S. + * This is the number of regs at iobase. + */ +#define CNET98S_IOSIZE 16 /* # of i/o addresses used. */ +#endif + /* Chip types */ #define LANCE 1 /* Am7990 */ #define C_LANCE 2 /* Am79C90 */ @@ -75,6 +89,7 @@ #define BICC 1 #define NE2100 2 #define DEPCA 3 +#define CNET98S 4 /* PC-98 */ /* mem_mode values */ #define DMA_FIXED 1 |