if_edreg.h (808) | if_edreg.h (968) |
---|---|
1/* 2 * National Semiconductor DS8390 NIC register definitions 3 * | 1/* 2 * National Semiconductor DS8390 NIC register definitions 3 * |
4 * $Id: if_edreg.h,v 2.2 1993/11/29 16:33:39 davidg Exp davidg $ | 4 * $Id: if_edreg.h,v 1.9 1993/11/29 17:07:33 davidg Exp $ |
5 * 6 * Modification history 7 * 8 * Revision 2.2 1993/11/29 16:33:39 davidg 9 * From Thomas Sandford <t.d.g.sandford@comp.brad.ac.uk> 10 * Add support for the 8013W board type 11 * 12 * Revision 2.1 1993/11/22 10:52:33 davidg --- 660 unchanged lines hidden (view full) --- 673 674/* i/o base offset to CARD ID */ 675#define ED_WD_CARD_ID ED_WD_PROM+6 676 677/* Board type codes in card ID */ 678#define ED_TYPE_WD8003S 0x02 679#define ED_TYPE_WD8003E 0x03 680#define ED_TYPE_WD8013EBT 0x05 | 5 * 6 * Modification history 7 * 8 * Revision 2.2 1993/11/29 16:33:39 davidg 9 * From Thomas Sandford <t.d.g.sandford@comp.brad.ac.uk> 10 * Add support for the 8013W board type 11 * 12 * Revision 2.1 1993/11/22 10:52:33 davidg --- 660 unchanged lines hidden (view full) --- 673 674/* i/o base offset to CARD ID */ 675#define ED_WD_CARD_ID ED_WD_PROM+6 676 677/* Board type codes in card ID */ 678#define ED_TYPE_WD8003S 0x02 679#define ED_TYPE_WD8003E 0x03 680#define ED_TYPE_WD8013EBT 0x05 |
681#define ED_TYPE_TOSHIBA1 0x11 682#define ED_TYPE_TOSHIBA2 0x14 |
|
681#define ED_TYPE_WD8013W 0x26 682#define ED_TYPE_WD8013EP 0x27 683#define ED_TYPE_WD8013WC 0x28 684#define ED_TYPE_WD8013EBP 0x2c 685#define ED_TYPE_WD8013EPC 0x29 686#define ED_TYPE_SMC8216T 0x2a 687#define ED_TYPE_SMC8216C 0x2b 688 689/* Bit definitions in card ID */ 690#define ED_WD_REV_MASK 0x1f /* Revision mask */ 691#define ED_WD_SOFTCONFIG 0x20 /* Soft config */ 692#define ED_WD_LARGERAM 0x40 /* Large RAM */ 693#define ED_MICROCHANEL 0x80 /* Microchannel bus (vs. isa) */ 694 695/* 696 * Checksum total. All 8 bytes in station address PROM will add up to this 697 */ | 683#define ED_TYPE_WD8013W 0x26 684#define ED_TYPE_WD8013EP 0x27 685#define ED_TYPE_WD8013WC 0x28 686#define ED_TYPE_WD8013EBP 0x2c 687#define ED_TYPE_WD8013EPC 0x29 688#define ED_TYPE_SMC8216T 0x2a 689#define ED_TYPE_SMC8216C 0x2b 690 691/* Bit definitions in card ID */ 692#define ED_WD_REV_MASK 0x1f /* Revision mask */ 693#define ED_WD_SOFTCONFIG 0x20 /* Soft config */ 694#define ED_WD_LARGERAM 0x40 /* Large RAM */ 695#define ED_MICROCHANEL 0x80 /* Microchannel bus (vs. isa) */ 696 697/* 698 * Checksum total. All 8 bytes in station address PROM will add up to this 699 */ |
700#ifdef TOSH_ETHER 701#define ED_WD_ROM_CHECKSUM_TOTAL 0xA5 702#else |
|
698#define ED_WD_ROM_CHECKSUM_TOTAL 0xFF | 703#define ED_WD_ROM_CHECKSUM_TOTAL 0xFF |
704#endif |
|
699 700#define ED_WD_NIC_OFFSET 0x10 /* I/O base offset to NIC */ 701#define ED_WD_ASIC_OFFSET 0 /* I/O base offset to ASIC */ 702#define ED_WD_IO_PORTS 32 /* # of i/o addresses used */ 703 704#define ED_WD_PAGE_OFFSET 0 /* page offset for NIC access to mem */ 705 706/* --- 190 unchanged lines hidden --- | 705 706#define ED_WD_NIC_OFFSET 0x10 /* I/O base offset to NIC */ 707#define ED_WD_ASIC_OFFSET 0 /* I/O base offset to ASIC */ 708#define ED_WD_IO_PORTS 32 /* # of i/o addresses used */ 709 710#define ED_WD_PAGE_OFFSET 0 /* page offset for NIC access to mem */ 711 712/* --- 190 unchanged lines hidden --- |