Thread (18 messages) flat view 18 messages, 5 authors, 2009-09-22
STALE6163d

[PATCH 3/3] at91_can: add driver for Atmel's CAN controller on AT91SAM9263

From: Andrew Victor <hidden>
Date: 2009-09-21 21:44:24
Also in: netdev

hi Marc,
+static inline u32 at91_read(const struct at91_priv *priv, enum at91_reg reg)
+{
+ ? ? ? return readl(priv->reg_base + reg);
+}
+
+static inline void at91_write(const struct at91_priv *priv, enum at91_reg reg,
+ ? ? ? ? ? ? ? u32 value)
+{
+ ? ? ? writel(value, priv->reg_base + reg);
+}
Rather use __raw_readl() and __raw_writel().


Regards,
  Andrew Victor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help