summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ed/if_ed.c17
-rw-r--r--sys/dev/ed/if_edreg.h3
-rw-r--r--sys/i386/isa/if_ed.c17
-rw-r--r--sys/i386/isa/if_edreg.h3
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
OpenPOWER on IntegriCloud