From: Kars de J. <jo...@li...> - 2002-12-25 10:11:52
|
On Mon, 2002-12-23 at 10:32, Geert Uytterhoeven wrote: > On Mon, 23 Dec 2002, [iso-8859-2] Krystian Bac=B3awski wrote: > > As far as I know apne driver in current version of kernel makes oops. > >=20 > > I found out that apne driver in 2.4.20 kernel was modified by someone w= ho > > knew nothing about amiga (he/she cut out a lot of code with GAYLE symbo= ls > > and replaced readb/writeb with inb/outb). I replaced apne.c from curren= t > > cvs tree with old one from 2.4.18-cvs. As for me it works. >=20 > PCMCIA is some sort of ISA, so inb() and friends should be OK. > Most probably the ISA changes in the m68k-specific part of the tree weren= 't > ported to APUS. I agree. Richard Zidlicky cleaned up the ISA support some time ago, making it possible to just use inb() etc. in drivers for PCMCIA hardware. It makes a lot of the things done in the apne driver no longer needed. Have a look at include/asm-m68k/io.h if you want to know how it was done. =20 > DISCLAIMER: since I don't have a PCMCIA Ethernet card I cannot guarantee = that > it works in the m68k tree neither. It does. Or at least did :p Haven't tried for a while since my Amiga is still sitting in its box after I moved. Kind regards, Kars. |