On Apr 18, 2005, at 5:37 AM, Ulrich Eckhardt wrote:
-void static inline au_writeb(u8 val, int reg) +void static inline au_writeb(u8 val, unsigned long port) { - *(volatile u8 *)(reg) = val; + *(volatile u8 *)(port) = val;
Technically, these are registers, not "ports", so please don't change their name. They are memory mapped registers, as their name implies.
Thanks.
-- Dan