Re: New PCI Device Driver

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Oct 07 2002 - 15:01:40 EST


On Mon, 2002-10-07 at 20:58, Alan Cox wrote:
>
> addr = ioremap(io_base_start, len);
> databuf = read(addr + 0x590);
>

Should be readb (the functions are readb / readw / readl / writeb /
writew / writel)

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



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:01:00 EST