Subject: port-mac68k/5301: ae driver hangs when ifconfig with EtherPort IIN (NuBus)
To: None <gnats-bugs@gnats.netbsd.org>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
List: netbsd-bugs
Date: 04/17/1998 00:16:36
>Number: 5301
>Category: port-mac68k
>Synopsis: ae driver hangs when ifconfig with EtherPort IIN (NuBus)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 16 08:20:01 1998
>Last-Modified:
>Originator: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
>Organization:
individual
>Release: NetBSD-1.3
>Environment:
System: NetBSD p84ce2e 1.3 NetBSD 1.3 (MINT) #88: Sun Feb 22 22:28:36 JST 1998 kei@localhost:/current/work/sys/arch/mac68k/compile/MINT mac68k
>Description:
EtherPort IIN has 8-bit bus and its ByteLanes is E1. So, the last
nibble of the offset address for accessing it should be [048c].
>How-To-Repeat:
With EtherPort IIN, do 'ifconfig.' It doesn't occur on EtherPort
SE/30.
>Fix:
Unfortunately, the following patch only solves the hang problem.
In other words, it doesn't work properly.
Ken Nakata said to me this change might not break the EtherPort SE/30.
--- if_aereg.h.orig Tue Apr 29 20:19:54 1997
+++ if_aereg.h Thu Apr 16 12:35:47 1998
@@ -28,8 +28,8 @@
#define FE_ROM_OFFSET 0x000d0006 /* Determined empirically */
-#define KE_ROM_OFFSET 0x000f0007
+#define KE_ROM_OFFSET 0x000f0000
#define KE_DATA_OFFSET 0x00000000 /* Offset to NIC memory */
-#define KE_REG_OFFSET 0x00080003 /* Offset to NIC registers */
+#define KE_REG_OFFSET 0x00080000 /* Offset to NIC registers */
#define AE_REG_SIZE 0x40 /* Size of register space */
>Audit-Trail:
>Unformatted: