lkml.org 
[lkml]   [1999]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: New resources - pls, explain :-(
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.331 / U:0.956 seconds]
©2003-2014 Jasper Spaans. Advertise on this site