mtd/include/linux/mtd compatmac.h, 1.66, 1.67 doc2000.h, 1.22,
1.23 map.h, 1.43, 1.44 nand.h, 1.63, 1.64
gleixner at infradead.org
gleixner at infradead.org
Thu Sep 16 19:26:11 EDT 2004
- Previous message: mtd/drivers/mtd/nand rtc_from4.c, NONE, 1.1 Kconfig, 1.18,
1.19 Config.in, 1.21, 1.22 Makefile.common, 1.10, 1.11
- Next message: mtd/drivers/mtd/maps amd76xrom.c, 1.13, 1.14 arctic-mtd.c, 1.11,
1.12 autcpu12-nvram.c, 1.6, 1.7 beech-mtd.c, 1.8,
1.9 cdb89712.c, 1.8, 1.9 ceiva.c, 1.10, 1.11 cfi_flagadm.c,
1.12, 1.13 cstm_mips_ixx.c, 1.10, 1.11 db1550-flash.c, 1.3,
1.4 db1x00-flash.c, 1.3, 1.4 dbox2-flash.c, 1.11,
1.12 dc21285.c, 1.20, 1.21 dilnetpc.c, 1.13, 1.14 dmv182.c,
1.3, 1.4 ebony.c, 1.11, 1.12 edb7312.c, 1.11,
1.12 elan-104nc.c, 1.21, 1.22 epxa10db-flash.c, 1.11,
1.12 fortunet.c, 1.7, 1.8 h720x-flash.c, 1.9, 1.10 ichxrom.c,
1.10, 1.11 impa7.c, 1.11, 1.12 integrator-flash-v24.c, 1.13,
1.14 integrator-flash.c, 1.16, 1.17 ipaq-flash.c, 1.1,
1.2 iq80310.c, 1.18, 1.19 ixp2000.c, 1.2, 1.3 ixp4xx.c, 1.4,
1.5 l440gx.c, 1.13, 1.14 lasat.c, 1.7, 1.8 lubbock-flash.c,
1.16, 1.17 mbx860.c, 1.6, 1.7 mpc1211.c, 1.3, 1.4 netsc520.c,
1.10, 1.11 nettel.c, 1.5, 1.6 ocelot.c, 1.13, 1.14 ocotea.c,
1.1, 1.2 omap-toto-flash.c, 1.2, 1.3 pb1550-flash.c, 1.4,
1.5 pb1xxx-flash.c, 1.11, 1.12 physmap.c, 1.34, 1.35 pnc2000.c,
1.15, 1.16 redwood.c, 1.8, 1.9 rpxlite.c, 1.20,
1.21 sa1100-flash.c, 1.40, 1.41 sbc_gxx.c, 1.29,
1.30 sc520cdp.c, 1.16, 1.17 scb2_flash.c, 1.8,
1.9 scx200_docflash.c, 1.6, 1.7 solutionengine.c, 1.13,
1.14 sun_uflash.c, 1.9, 1.10 tqm8xxl.c, 1.11, 1.12 uclinux.c,
1.7, 1.8 wr_sbc82xx_flash.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv7211
Modified Files:
compatmac.h doc2000.h map.h nand.h
Log Message:
Start the __iomem readb and friends overhaul
Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- compatmac.h 2 Sep 2004 01:45:46 -0000 1.66
+++ compatmac.h 16 Sep 2004 23:26:08 -0000 1.67
@@ -27,7 +27,6 @@
#define recalc_sigpending() __recalc_sigpending ()
#define set_user_nice(tsk, n) do { (tsk)->nice = n; } while(0)
-
#endif
@@ -186,9 +185,9 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
#define kvec iovec
#define __user
+#define __iomem
#endif
-
#ifndef list_for_each_entry_safe
/**
* list_for_each_entry_safe - iterate over list of given type safe against removal of list entry
Index: doc2000.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/doc2000.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- doc2000.h 5 Nov 2003 10:51:36 -0000 1.22
+++ doc2000.h 16 Sep 2004 23:26:08 -0000 1.23
@@ -89,8 +89,8 @@
#define WriteDOC_(d, adr, reg) do{ *(volatile __u16 *)(((unsigned long)adr)+((reg)<<1)) = (__u16)d; wmb();} while(0)
#define DOC_IOREMAP_LEN 0x4000
#else
-#define ReadDOC_(adr, reg) readb(((unsigned long)adr) + (reg))
-#define WriteDOC_(d, adr, reg) writeb(d, ((unsigned long)adr) + (reg))
+#define ReadDOC_(adr, reg) readb((void __iomem *)(((unsigned long)adr) + (reg)))
+#define WriteDOC_(d, adr, reg) writeb(d, (void __iomem *)(((unsigned long)adr) + (reg)))
#define DOC_IOREMAP_LEN 0x2000
#endif
@@ -168,7 +168,7 @@
struct DiskOnChip {
unsigned long physadr;
- unsigned long virtadr;
+ void __iomem *virtadr;
unsigned long totlen;
unsigned char ChipID; /* Type of DiskOnChip */
int ioreg;
Index: map.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/map.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- map.h 14 Jul 2004 13:30:27 -0000 1.43
+++ map.h 16 Sep 2004 23:26:08 -0000 1.44
@@ -8,6 +8,7 @@
#include <linux/config.h>
#include <linux/types.h>
#include <linux/list.h>
+#include <linux/mtd/compatmac.h>
#include <asm/unaligned.h>
#include <asm/system.h>
#include <asm/io.h>
@@ -179,7 +180,7 @@
unsigned long phys;
#define NO_XIP (-1UL)
- unsigned long virt;
+ void __iomem *virt;
void *cached;
int bankwidth; /* in octets. This isn't necessarily the width
Index: nand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand.h,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- nand.h 7 Jul 2004 16:29:43 -0000 1.63
+++ nand.h 16 Sep 2004 23:26:08 -0000 1.64
@@ -269,8 +269,8 @@
*/
struct nand_chip {
- unsigned long IO_ADDR_R;
- unsigned long IO_ADDR_W;
+ void __iomem *IO_ADDR_R;
+ void __iomem *IO_ADDR_W;
u_char (*read_byte)(struct mtd_info *mtd);
void (*write_byte)(struct mtd_info *mtd, u_char byte);
- Previous message: mtd/drivers/mtd/nand rtc_from4.c, NONE, 1.1 Kconfig, 1.18,
1.19 Config.in, 1.21, 1.22 Makefile.common, 1.10, 1.11
- Next message: mtd/drivers/mtd/maps amd76xrom.c, 1.13, 1.14 arctic-mtd.c, 1.11,
1.12 autcpu12-nvram.c, 1.6, 1.7 beech-mtd.c, 1.8,
1.9 cdb89712.c, 1.8, 1.9 ceiva.c, 1.10, 1.11 cfi_flagadm.c,
1.12, 1.13 cstm_mips_ixx.c, 1.10, 1.11 db1550-flash.c, 1.3,
1.4 db1x00-flash.c, 1.3, 1.4 dbox2-flash.c, 1.11,
1.12 dc21285.c, 1.20, 1.21 dilnetpc.c, 1.13, 1.14 dmv182.c,
1.3, 1.4 ebony.c, 1.11, 1.12 edb7312.c, 1.11,
1.12 elan-104nc.c, 1.21, 1.22 epxa10db-flash.c, 1.11,
1.12 fortunet.c, 1.7, 1.8 h720x-flash.c, 1.9, 1.10 ichxrom.c,
1.10, 1.11 impa7.c, 1.11, 1.12 integrator-flash-v24.c, 1.13,
1.14 integrator-flash.c, 1.16, 1.17 ipaq-flash.c, 1.1,
1.2 iq80310.c, 1.18, 1.19 ixp2000.c, 1.2, 1.3 ixp4xx.c, 1.4,
1.5 l440gx.c, 1.13, 1.14 lasat.c, 1.7, 1.8 lubbock-flash.c,
1.16, 1.17 mbx860.c, 1.6, 1.7 mpc1211.c, 1.3, 1.4 netsc520.c,
1.10, 1.11 nettel.c, 1.5, 1.6 ocelot.c, 1.13, 1.14 ocotea.c,
1.1, 1.2 omap-toto-flash.c, 1.2, 1.3 pb1550-flash.c, 1.4,
1.5 pb1xxx-flash.c, 1.11, 1.12 physmap.c, 1.34, 1.35 pnc2000.c,
1.15, 1.16 redwood.c, 1.8, 1.9 rpxlite.c, 1.20,
1.21 sa1100-flash.c, 1.40, 1.41 sbc_gxx.c, 1.29,
1.30 sc520cdp.c, 1.16, 1.17 scb2_flash.c, 1.8,
1.9 scx200_docflash.c, 1.6, 1.7 solutionengine.c, 1.13,
1.14 sun_uflash.c, 1.9, 1.10 tqm8xxl.c, 1.11, 1.12 uclinux.c,
1.7, 1.8 wr_sbc82xx_flash.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list