diff options
author | dg <dg@FreeBSD.org> | 1994-02-02 14:05:58 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-02-02 14:05:58 +0000 |
commit | 164b10596fc5d87428f0b2d6db54ae0779c184b8 (patch) | |
tree | 71644efd851f2c966517f26b5455fcbe64c3cd5a /sys | |
parent | 0c8f65971726aa93b94433af36b6d95f8308d58c (diff) | |
download | FreeBSD-src-164b10596fc5d87428f0b2d6db54ae0779c184b8.zip FreeBSD-src-164b10596fc5d87428f0b2d6db54ae0779c184b8.tar.gz |
Added 8003EB board type. Clue from Gerard J van der Grinten (gvdg@cdc.com)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ed/if_ed.c | 17 | ||||
-rw-r--r-- | sys/dev/ed/if_edreg.h | 3 | ||||
-rw-r--r-- | sys/i386/isa/if_ed.c | 17 | ||||
-rw-r--r-- | sys/i386/isa/if_edreg.h | 3 |
4 files changed, 16 insertions, 24 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index 041b676..45caa81 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.30 1994/01/31 07:34:20 davidg Exp $ + * $Id: if_ed.c,v 1.31 1994/02/02 02:24:38 davidg Exp $ */ #include "ed.h" @@ -298,21 +298,20 @@ ed_probe_WD80x3(isa_dev) /* * Set initial values for width/size. */ + memsize = 8192; + isa16bit = 0; switch (sc->type) { case ED_TYPE_WD8003S: sc->type_str = "WD8003S"; - memsize = 8192; - isa16bit = 0; break; case ED_TYPE_WD8003E: sc->type_str = "WD8003E"; - memsize = 8192; - isa16bit = 0; + break; + case ED_TYPE_WD8003EB: + sc->type_str = "WD8003EB"; break; case ED_TYPE_WD8003W: sc->type_str = "WD8003W"; - memsize = 8192; - isa16bit = 0; break; case ED_TYPE_WD8013EBT: sc->type_str = "WD8013EBT"; @@ -331,8 +330,6 @@ ed_probe_WD80x3(isa_dev) memsize = 16384; sc->type_str = "WD8013EP"; } else { - isa16bit = 0; - memsize = 8192; sc->type_str = "WD8003EP"; } break; @@ -377,8 +374,6 @@ ed_probe_WD80x3(isa_dev) #endif default: sc->type_str = ""; - memsize = 8192; - isa16bit = 0; break; } /* diff --git a/sys/dev/ed/if_edreg.h b/sys/dev/ed/if_edreg.h index 0d21edf..cd3f1d0 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.11 1994/01/25 22:52:09 ats Exp $ + * $Id: if_edreg.h,v 1.12 1994/02/02 02:24:42 davidg Exp $ * * Modification history * @@ -698,6 +698,7 @@ struct ed_ring { #define ED_TYPE_TOSHIBA3 0x13 /* named PCETB */ #define ED_TYPE_TOSHIBA4 0x14 /* named PCETC */ #define ED_TYPE_WD8003W 0x24 +#define ED_TYPE_WD8003EB 0x25 #define ED_TYPE_WD8013W 0x26 #define ED_TYPE_WD8013EP 0x27 #define ED_TYPE_WD8013WC 0x28 diff --git a/sys/i386/isa/if_ed.c b/sys/i386/isa/if_ed.c index 041b676..45caa81 100644 --- a/sys/i386/isa/if_ed.c +++ b/sys/i386/isa/if_ed.c @@ -20,7 +20,7 @@ */ /* - * $Id: if_ed.c,v 1.30 1994/01/31 07:34:20 davidg Exp $ + * $Id: if_ed.c,v 1.31 1994/02/02 02:24:38 davidg Exp $ */ #include "ed.h" @@ -298,21 +298,20 @@ ed_probe_WD80x3(isa_dev) /* * Set initial values for width/size. */ + memsize = 8192; + isa16bit = 0; switch (sc->type) { case ED_TYPE_WD8003S: sc->type_str = "WD8003S"; - memsize = 8192; - isa16bit = 0; break; case ED_TYPE_WD8003E: sc->type_str = "WD8003E"; - memsize = 8192; - isa16bit = 0; + break; + case ED_TYPE_WD8003EB: + sc->type_str = "WD8003EB"; break; case ED_TYPE_WD8003W: sc->type_str = "WD8003W"; - memsize = 8192; - isa16bit = 0; break; case ED_TYPE_WD8013EBT: sc->type_str = "WD8013EBT"; @@ -331,8 +330,6 @@ ed_probe_WD80x3(isa_dev) memsize = 16384; sc->type_str = "WD8013EP"; } else { - isa16bit = 0; - memsize = 8192; sc->type_str = "WD8003EP"; } break; @@ -377,8 +374,6 @@ ed_probe_WD80x3(isa_dev) #endif default: sc->type_str = ""; - memsize = 8192; - isa16bit = 0; break; } /* diff --git a/sys/i386/isa/if_edreg.h b/sys/i386/isa/if_edreg.h index 0d21edf..cd3f1d0 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 1.11 1994/01/25 22:52:09 ats Exp $ + * $Id: if_edreg.h,v 1.12 1994/02/02 02:24:42 davidg Exp $ * * Modification history * @@ -698,6 +698,7 @@ struct ed_ring { #define ED_TYPE_TOSHIBA3 0x13 /* named PCETB */ #define ED_TYPE_TOSHIBA4 0x14 /* named PCETC */ #define ED_TYPE_WD8003W 0x24 +#define ED_TYPE_WD8003EB 0x25 #define ED_TYPE_WD8013W 0x26 #define ED_TYPE_WD8013EP 0x27 #define ED_TYPE_WD8013WC 0x28 |