[PATCH] ide_cs: Make ide_cs work with the memory space of
CF-Cards if IO space is not available (2nd revision)
David Vrabel
dvrabel at cantab.net
Fri May 12 05:18:45 EDT 2006
Thomas Kleffel (maintech GmbH) wrote:
>
> +void outb_io(unsigned char value, unsigned long port) {
> + outb(value, port);
> +}
> +
> +void outb_mem(unsigned char value, unsigned long port) {
> + writeb(value, (void __iomem *) port);
> }
[...]
> + if(is_mmio)
> + my_outb = outb_mem;
> + else
> + my_outb = outb_io;
Shouldn't you convert ide_cs to use iowrite8 (and friends) instead of
doing this?
David Vrabel
More information about the linux-pcmcia
mailing list