[uCsimm] Minor progresses on CS8900 driver for uCsimm

From: Bernhard Kuhn (kuhn@lpr.e-technik.tu-muenchen.de)
Date: Sat Apr 07 2001 - 22:56:22 EDT


Hi!

I have done some work on the CS8900 driver for uCsimm:

Instead of using uCcs8900, i took the more generic
driver for cs89x0, because it is already adapted to
linux 2.4.x. Currently, the device is recognized
during the boot progress, and can be configured
using ifattach, but when pinging the uCsimm it
crashes with a kernel bug :-(

Here is the relevant output:

[...]
cs89x0:cs89x0_probe()
cs89x0.c: v2.4.0-test11-pre4 Russell Nelson <nelson@crynwr.com>,
Andrew Morton <andrewm@uow.edu.au>
eth0: cs8900 rev J found at 0x10000300 media RJ-45,,
programmed I/O, MAC 00:50:c2:03:6b:15
cs89x0_probe1() successful
[...]
# /sbin/ifattach \
--addr 192.168.1.2 \
--mask 255.255.255.0 \
--net 192.168.1.0 \
--gw 192.168.1.1 eth0
eth0: using half-duplex 10Base-T (RJ-45)
# skput:over: 0063643e:196 put:98 dev:eth0kernel BUG!
skput:over: 0063643e:196 put:98 dev:eth0kernel BUG!

The patch can be downloaded at:

http://www.rcs.ei.tum.de/~kuhn/uclinux/patch-uCsimm-2.4-cs8900-010408.bz2

Apply it a usual with
cd $YOUR_PROJECT_PATH/linux
bunzip2 -cd patch-uCsimm-2.4-cs8900-010408.bz2 | patch -p1

Maybe you have more luck than i had :-)

best regards

Bernhard Kuhn

P.S.: I put "ifattach" from 2.0.x userland (compiled with
pic-coff for uClinux-2.0.x) into the romdisk, because
compiling with elf and the new kernel didn't worked out:
clashes with the kernel header file ...
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:42 EST