diff options
author | dg <dg@FreeBSD.org> | 1994-02-02 02:24:42 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-02-02 02:24:42 +0000 |
commit | a4348210bb5ecd415c36b2d0ffdfbd4533b4ab52 (patch) | |
tree | c5b487f4313a4bb8fb482b133777d7aa32c0c99d /sys/dev | |
parent | 8ae65955af176835daf4a57ca565b9bd9f9389b1 (diff) | |
download | FreeBSD-src-a4348210bb5ecd415c36b2d0ffdfbd4533b4ab52.zip FreeBSD-src-a4348210bb5ecd415c36b2d0ffdfbd4533b4ab52.tar.gz |
Added type code for 8003W.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ed/if_ed.c | 7 | ||||
-rw-r--r-- | sys/dev/ed/if_edreg.h | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index d7c7a92..041b676 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -20,7 +20,7 @@ */ /* - * $Id: if_ed.c,v 1.29 1994/01/25 22:52:06 ats Exp $ + * $Id: if_ed.c,v 1.30 1994/01/31 07:34:20 davidg Exp $ */ #include "ed.h" @@ -309,6 +309,11 @@ ed_probe_WD80x3(isa_dev) memsize = 8192; isa16bit = 0; break; + case ED_TYPE_WD8003W: + sc->type_str = "WD8003W"; + memsize = 8192; + isa16bit = 0; + break; case ED_TYPE_WD8013EBT: sc->type_str = "WD8013EBT"; memsize = 16384; diff --git a/sys/dev/ed/if_edreg.h b/sys/dev/ed/if_edreg.h index 92aaef2..0d21edf 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 1.10 1994/01/11 21:28:29 ats Exp $ + * $Id: if_edreg.h,v 1.11 1994/01/25 22:52:09 ats Exp $ * * Modification history * @@ -697,13 +697,14 @@ struct ed_ring { #define ED_TYPE_TOSHIBA2 0x12 /* named PCETA2 */ #define ED_TYPE_TOSHIBA3 0x13 /* named PCETB */ #define ED_TYPE_TOSHIBA4 0x14 /* named PCETC */ +#define ED_TYPE_WD8003W 0x24 #define ED_TYPE_WD8013W 0x26 #define ED_TYPE_WD8013EP 0x27 #define ED_TYPE_WD8013WC 0x28 -#define ED_TYPE_WD8013EBP 0x2c #define ED_TYPE_WD8013EPC 0x29 #define ED_TYPE_SMC8216T 0x2a #define ED_TYPE_SMC8216C 0x2b +#define ED_TYPE_WD8013EBP 0x2c /* Bit definitions in card ID */ #define ED_WD_REV_MASK 0x1f /* Revision mask */ |