Subject: Re: Duo230 with NetDock or EtherMicroDock
To: None <port-mac68k@netbsd.org>
From: Takeo Kuwata <tkuwata@virus.kyoto-u.ac.jp>
List: port-mac68k
Date: 06/01/2002 13:37:33
Hi,

I made a new 1.5.2 kernel for Duo.
Using this kernel, I can browse by w3m-img on Duo230 with Newer Ether Microdock.

http://ringo.mine.nu/dl/netbsd.DUO_152EM.gz

This kernel can work in NetBSD 1.5.2 binaries on Duo230. In addition, Ether 
Microdock (and maybe NetDock) works fine.
The kernel was built by using the older version of sys/net/if_ether.h and 
sys/net/if_ethersubr.c.

Please try Ether Networking by Duo/Ether MicroDock/NetBSD1.5.2.
I would be very happy if someone solve a bug in if_netdock_nubus.c in 1.5.1 or 
higher versions.

>Hi,
>
>I tried to use Newer EtherMicroDock and Asante NetDock on Duo230/NetBSD 1.5.X.
>Driver for these (if_netdock_nubus.c) was originally written by Mr Kato, and 
he 
>improved it for NetBSD 1.5 and Newer Ether Microdock. This driver works fine 
in 
>Duo230/NetBSD 1.5.
>
>For use in NetBSD1.5.1 and 1.5.2, I have to modify if_netdock_nubus.c because 
a 
>modification for VLAN support (changes in sys/net/if_ether.h and 
sys/net/if_ethersu
>br.c) affected if_netdock_nubus.c. In NetBSD1.5.1 and 1.5.2, 
if_netdock_nubus.c 
>for NetBSD 1.5 can not receive packets.
>
>I modified if_netdock_nubus.c for NetBSD1.5.1 and 1.5.2 like 
>sys/arch/next68k/dev/mb8795.c. This modification enabled to receive packets, 
>but still had a bug. The received files were not correct, and the file volume 
>increased.
>
>Drivers and a patch are here.
>
>duopatch_1.5.1: Patch for Duo and netdock
>http://ringo.mine.nu/dl/duopatch_1.5.1
>
>if_netdock_nubus.c.15: Driver for NetBSD 1.5
>http://ringo.mine.nu/dl/if_netdock_nubus.c.15
>
>if_netdock_nubus.c.151-152: Driver for NetBSD 1.5.1-1.5.2
>http://ringo.mine.nu/dl/if_netdock_nubus.c.151-152
>
>To make a kernel, 
>
># cd /usr/src/sys/arch/
># patch -p0 < /SOMEWHERE/duopatch_1.5.1
># cp /SOMEWHERE/if_netdock_nubus.c.15 
>/usr/src/sys/arch/mac68k/nubus/if_netdock_nubus.c
>
>These kernels are available at,
>
>1.5 kernel
>http://ringo.mine.nu/dl/netbsd.DUO_15.gz
>
>1.5.1 kernel
>http://ringo.mine.nu/dl/netbsd.DUO_151.gz
>
>1.5.2 kernel
>http://ringo.mine.nu/dl/netbsd.DUO_152.gz
>
>Also, I tested in -current.
>
>if_netdock_nubus.c.-current: Driver for NetBSD -current
>http://ringo.mine.nu/dl/if_netdock_nubus.c.-current
>
>-current 20020527(ELF) kernel
>http://ringo.mine.nu/dl/netbsd.DUO_20020527.gz
>
>I would be very happy if anyone would solve this bug.
>
>#I sent this mail twice, but could not receive this from ML.
>#This is third try. I am sorry if this mail is delivered three times.
>
>tkuwata (Takeo Kuwata)
>e-mail: tkuwata@mac.com
>WWW: http://ringo.mine.nu



tkuwata (Takeo Kuwata)
e-mail: tkuwata@mac.com
WWW: http://ringo.mine.nu