Thread (11 messages) flat view 11 messages, 6 authors, 2006-02-02

Re: Yosemite/440EP why are readl()/ioread32() setup to readlittle-endian?

From: Peter Korsgaard <jacmet@sunsite.dk>
Date: 2006-02-02 08:09:19

On 2/2/06, Kumar Gala [off-list ref] wrote:
quoted
What is the preferred way of accessing non-PCI devices then? Direct
pointer access?
No direct pointer access is bad. On PPC You can use
in_be{8,16,32}/out_be{8,16,32}
What about arch independent drivers? Are there any generic approach
for this or do you have to stick to ugly #ifdefs to decide between
in_be32/inl ?

--
Bye, Peter Korsgaard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help