Re: [patch] some cleanups for Alchemy processors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux