Re: New resources - pls, explain :-(

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 11 Aug 1999 15:10:13 +0100 (BST)


> Remember, readl() and friends are to be used for PCI mapped memory only! If you
> want to generalize, accesses have to be done through e.g. device->readl().

readl() is for all busses.

If you wnt a PCI bus specific readl it should be called pci_readl(). Perhaps
thats the root of the problem. Define pci_readl() to be strictly ordered,
do the right byte swapping and be done with it. Define readl() to change
no order.

Alan

-
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/