lkml.org 
[lkml]   [2003]   [Jun]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH][v850] Add __raw_ read/write ops to v850 io.h
DateTue, 17 Jun 2003 15:05:40 +0900 (JST)
From(Miles Bader)
diff -ruN -X../cludes linux-2.5.72-moo/include/asm-v850/io.h linux-2.5.72-moo-v850-20030617/include/asm-v850/io.h
--- linux-2.5.72-moo/include/asm-v850/io.h	2002-11-05 11:25:32.000000000 +0900
+++ linux-2.5.72-moo-v850-20030617/include/asm-v850/io.h	2003-06-17 14:23:12.000000000 +0900
@@ -1,8 +1,8 @@
 /*
  * include/asm-v850/io.h -- Misc I/O operations
  *
- *  Copyright (C) 2001,02  NEC Corporation
- *  Copyright (C) 2001,02  Miles Bader <miles@gnu.org>
+ *  Copyright (C) 2001,02,03  NEC Electronics Corporation
+ *  Copyright (C) 2001,02,03  Miles Bader <miles@gnu.org>
  *
  * This file is subject to the terms and conditions of the GNU General
  * Public License.  See the file COPYING in the main directory of this
@@ -30,6 +30,13 @@
 #define writel(b, addr) \
   (void)((*(volatile unsigned int *) (addr)) = (b))
 
+#define __raw_readb readb
+#define __raw_readw readw
+#define __raw_readl readl
+#define __raw_writeb writeb
+#define __raw_writew writew
+#define __raw_writel writel
+
 #define inb(addr)	readb (addr)
 #define inw(addr)	readw (addr)
 #define inl(addr)	readl (addr)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:36    [from the cache]
©2003-2008