Re: io mapaddr 0xc8000 not valid at smc-ultra.c:356! etc.

Stephane Casset (casset@pipo.u-strasbg.fr)
Fri, 29 Oct 1999 10:47:47 +0200


<!--
On Thu, Oct 28, 1999 at 10:48:21PM +0100, Alan Cox wrote:
> > I keep receiving the following errors (2.3.24):
> >
> > Oct 28 22:29:48 psycho kernel: io mapaddr 0xc8000 not valid at smc-ultra.c:356!
>
> 2.3.2x changes the rules for ISA access. I've updated the wd.c driver and 3c503
> in my tree. Basically you need to be using isa_memcpy_* and the like

in pre-patch-2.3.25-1

in include/asm-i386/io.h :
#define eth_io_copy_and_sum(a,b,c,d) eth_copy_and_sum((a),__io_virt(b),(c),(d))
#define isa_eth_io_copy_and_csum(a,b,c,d) eth_copy_and_sum((a),__io_virt(__ISA_IO_base + (b)),(c),(d))

It would be better to rename isa_eth_io_copy_and_csum by
isa_eth_io_copy_and_sum, no ? As it's the same function...

and it allows 3c503 driver to compile

Regards
Stéphane

-- 
<< On ne voit bien qu'avec le coeur, |          Stephane Casset 
 l'essentiel est invisible           |      casset@inforezo.u-strasbg.fr
     pour les yeux >>   St. Exupery  |  http://inforezo.u-strasbg.fr/~casset
-->Si vous ne voyez rien c'est normal utilisez un VRAI lecteur de mails !

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/