Port-atari archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

EtherNEC on NetBSD/atari now works!



I wrote:

> Yesterday I finished building the SMC_TT1 VME-ISA bridge circuit.
> Today I've written MD attachment code of MI we(4) driver for NetBSD/atari,
> and now it works fine. Yay!

As a next project, I have also built EtherNEC board and adapter
http://hardware.atari.org/ether/
http://www.ceres.dti.ne.jp/tsutsui/ethernec/EtherNEC.jpg
http://www.ceres.dti.ne.jp/tsutsui/ethernec/EtherNEC-adapter.jpg
and written a driver for it.

Now it works charm on my TT030!

---
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.24 (ATARITT) #130: Mon Mar 29 23:39:41 JST 2010
        tsutsui@mirage:/usr/src/sys/arch/atari/compile/ATARITT
Atari TT (m68030 CPU/MMU mc68882 FPU)
total memory = 69632 KB
avail memory = 65088 KB
mainbus0 (root)

 :

nvr0 at mainbus0
lp0 at mainbus0
ne0 at mainbus0: EtherNEC on Atari ROM cartridge slot
ne0: NE2000 (RTL8019) Ethernet (8-bit)
ne0: Ethernet address 00:00:f4:69:2a:ee
ne0: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x10] auto
ne0: using 64 Hz polling

 :

% ifconfig ne0
ne0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:00:f4:69:2a:ee
        media: Ethernet autoselect (10baseT)
        inet 192.168.20.220 netmask 0xffffff00 broadcast 192.168.20.255
        inet6 fe80::200:f4ff:fe69:2aee%ne0 prefixlen 64 scopeid 0x1
% ttcp -rs
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001  tcp
ttcp-r: socket
ttcp-r: accept from 192.168.20.1
ttcp-r: 16777216 bytes in 154.74 real seconds = 105.88 KB/sec +++
ttcp-r: 5280 I/O calls, msec/call = 30.01, calls/sec = 34.12
ttcp-r: 0.0user 13.5sys 2:34real 8% 0i+0d 0maxrss 0+0pf 0+0csw
% ttcp -ts 192.168.20.1
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001  tcp  -> 192.168.20.1
ttcp-t: socket
ttcp-t: connect
ttcp-t: 16777216 bytes in 180.91 real seconds = 90.57 KB/sec +++
ttcp-t: 2048 I/O calls, msec/call = 90.45, calls/sec = 11.32
ttcp-t: 1.9user 9.6sys 3:00real 6% 0i+0d 0maxrss 0+0pf 0+0csw
%

---

I also create patches and build 5.0.2 kernels for ATARITT and FALCON:

diffs for HEAD:
 http://www.ceres.dti.ne.jp/tsutsui/ethernec/atari-EtherNEC-HEAD-20100329.diff

diffs for 5.0.2 (also includes SMC_TT changes):
 http://www.ceres.dti.ne.jp/tsutsui/ethernec/atari-EtherNEC-5.0.2-20100329.diff

5.0.2 based ATARITT kernel (also includes SMC_TT support):
 
http://www.ceres.dti.ne.jp/tsutsui/ethernec/netbsd-ATARITT-EtherNEC-5.0.2-20100329.gz

5.0.2 based FALCON kernel:
 
http://www.ceres.dti.ne.jp/tsutsui/ethernec/netbsd-FALCON-EtherNEC-5.0.2-20100329.gz


Note you can still order EtherNEC for your favorite Atari from Worldwide
(announced on the last October):
http://www.freemint.org/ethernec/ethernec.html
http://groups.google.com/group/comp.sys.atari.st/browse_thread/thread/4b6e4d3ce0c372ac

Have fun!
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index