summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2002-10-04 21:19:34 +0000
committertsutsui <tsutsui@NetBSD.org>2002-10-04 21:19:34 +0000
commit510762487a293b6c4da9b024b48977c64af5e8fd (patch)
tree3e6a0f8a0d940469e597e8fef70e72a75d41c4b7 /sys/dev
parent76b8216ed61b9b6bcc747d87c0186843dac51749 (diff)
Allied-Telesyn AT-1700xT and Allied-Telesis RE200x are actually identical,
so show both names in attachment. (From FreeBSD's if_fe_isa.c)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/mb86960var.h4
-rw-r--r--sys/dev/isa/if_ate.c18
2 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/ic/mb86960var.h b/sys/dev/ic/mb86960var.h
index 58ea7064095..7b422347832 100644
--- a/sys/dev/ic/mb86960var.h
+++ b/sys/dev/ic/mb86960var.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mb86960var.h,v 1.29 2002/10/04 15:22:30 tsutsui Exp $ */
+/* $NetBSD: mb86960var.h,v 1.30 2002/10/04 21:19:34 tsutsui Exp $ */
/*
* All Rights Reserved, Copyright (C) Fujitsu Limited 1995
@@ -113,7 +113,7 @@ enum fe_type {
FE_TYPE_AT1700BT,
FE_TYPE_AT1700FT,
FE_TYPE_AT1700AT,
- FE_TYPE_RE2000,
+ FE_TYPE_AT_UNKNOWN,
/* PCMCIA by Fujitsu. */
FE_TYPE_MBH10302,
diff --git a/sys/dev/isa/if_ate.c b/sys/dev/isa/if_ate.c
index be796e10026..1114b88389d 100644
--- a/sys/dev/isa/if_ate.c
+++ b/sys/dev/isa/if_ate.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ate.c,v 1.36 2002/10/04 15:22:30 tsutsui Exp $ */
+/* $NetBSD: if_ate.c,v 1.37 2002/10/04 21:19:35 tsutsui Exp $ */
/*
* All Rights Reserved, Copyright (C) Fujitsu Limited 1995
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ate.c,v 1.36 2002/10/04 15:22:30 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ate.c,v 1.37 2002/10/04 21:19:35 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -354,7 +354,7 @@ ate_detect(iot, ioh, enaddr)
type = FE_TYPE_AT1700AT;
break;
default:
- type = FE_TYPE_RE2000;
+ type = FE_TYPE_AT_UNKNOWN;
break;
}
@@ -390,19 +390,19 @@ ate_attach(parent, self, aux)
type = ate_detect(iot, ioh, myea);
switch (type) {
case FE_TYPE_AT1700T:
- typestr = "AT-1700T";
+ typestr = "AT-1700T/RE2001";
break;
case FE_TYPE_AT1700BT:
- typestr = "AT-1700BT";
+ typestr = "AT-1700BT/RE2003";
break;
case FE_TYPE_AT1700FT:
- typestr = "AT-1700FT";
+ typestr = "AT-1700FT/RE2009";
break;
case FE_TYPE_AT1700AT:
- typestr = "AT-1700AT";
+ typestr = "AT-1700AT/RE2005";
break;
- case FE_TYPE_RE2000:
- typestr = "unknown (RE-2000?)";
+ case FE_TYPE_AT_UNKNOWN:
+ typestr = "unknown AT-1700/RE2000";
break;
default: