diff options
author | ats <ats@FreeBSD.org> | 1994-01-11 21:28:29 +0000 |
---|---|---|
committer | ats <ats@FreeBSD.org> | 1994-01-11 21:28:29 +0000 |
commit | 14b81a729b9efccfe66091920b41f01d04bbd3d6 (patch) | |
tree | 9ede4d809229999f5d7a400b2a332b4bff49787f | |
parent | d3bbf3ef4de4fa87c28e82c6552a4e27c3ae21c7 (diff) | |
download | FreeBSD-src-14b81a729b9efccfe66091920b41f01d04bbd3d6.zip FreeBSD-src-14b81a729b9efccfe66091920b41f01d04bbd3d6.tar.gz |
Thrown out the obsolete drivers in the TODO list.
Added the Toshiba board-id's into the if_edreg.h file and the different
checksum for the Toshiba ethernet-boards.
-rw-r--r-- | sys/dev/ed/if_edreg.h | 8 | ||||
-rw-r--r-- | sys/i386/isa/if_edreg.h | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/sys/dev/ed/if_edreg.h b/sys/dev/ed/if_edreg.h index a8899f6..9d65ffa 100644 --- a/sys/dev/ed/if_edreg.h +++ b/sys/dev/ed/if_edreg.h @@ -1,7 +1,7 @@ /* * National Semiconductor DS8390 NIC register definitions * - * $Id: if_edreg.h,v 2.2 1993/11/29 16:33:39 davidg Exp davidg $ + * $Id: if_edreg.h,v 1.9 1993/11/29 17:07:33 davidg Exp $ * * Modification history * @@ -678,6 +678,8 @@ struct ed_ring { #define ED_TYPE_WD8003S 0x02 #define ED_TYPE_WD8003E 0x03 #define ED_TYPE_WD8013EBT 0x05 +#define ED_TYPE_TOSHIBA1 0x11 +#define ED_TYPE_TOSHIBA2 0x14 #define ED_TYPE_WD8013W 0x26 #define ED_TYPE_WD8013EP 0x27 #define ED_TYPE_WD8013WC 0x28 @@ -695,7 +697,11 @@ struct ed_ring { /* * Checksum total. All 8 bytes in station address PROM will add up to this */ +#ifdef TOSH_ETHER +#define ED_WD_ROM_CHECKSUM_TOTAL 0xA5 +#else #define ED_WD_ROM_CHECKSUM_TOTAL 0xFF +#endif #define ED_WD_NIC_OFFSET 0x10 /* I/O base offset to NIC */ #define ED_WD_ASIC_OFFSET 0 /* I/O base offset to ASIC */ diff --git a/sys/i386/isa/if_edreg.h b/sys/i386/isa/if_edreg.h index a8899f6..9d65ffa 100644 --- a/sys/i386/isa/if_edreg.h +++ b/sys/i386/isa/if_edreg.h @@ -1,7 +1,7 @@ /* * National Semiconductor DS8390 NIC register definitions * - * $Id: if_edreg.h,v 2.2 1993/11/29 16:33:39 davidg Exp davidg $ + * $Id: if_edreg.h,v 1.9 1993/11/29 17:07:33 davidg Exp $ * * Modification history * @@ -678,6 +678,8 @@ struct ed_ring { #define ED_TYPE_WD8003S 0x02 #define ED_TYPE_WD8003E 0x03 #define ED_TYPE_WD8013EBT 0x05 +#define ED_TYPE_TOSHIBA1 0x11 +#define ED_TYPE_TOSHIBA2 0x14 #define ED_TYPE_WD8013W 0x26 #define ED_TYPE_WD8013EP 0x27 #define ED_TYPE_WD8013WC 0x28 @@ -695,7 +697,11 @@ struct ed_ring { /* * Checksum total. All 8 bytes in station address PROM will add up to this */ +#ifdef TOSH_ETHER +#define ED_WD_ROM_CHECKSUM_TOTAL 0xA5 +#else #define ED_WD_ROM_CHECKSUM_TOTAL 0xFF +#endif #define ED_WD_NIC_OFFSET 0x10 /* I/O base offset to NIC */ #define ED_WD_ASIC_OFFSET 0 /* I/O base offset to ASIC */ |