The documentation says to use readb/readw/readl to read memory-mapped
devices, and they use volatile already so use them.
Don't read existing device drivers, you might learn bad habits. :-)
References: Documentation/IO-mapping.txt, <asm/io.h>
-- Jamie
-
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/