[patch] dilnetpc.c broken?

Jörn Engel joern at wohnheim.fh-wedel.de
Mon Mar 11 14:23:23 EST 2002


Moin!

The DIL/Net PC mapping driver appears to be broken. At least, it
didn't compile properly on my machine. After a quick look at the code,
the following appears to be the correct fix for the problem.

That said, I have no idea, what the DIL/Net PC is or who is using that
driver. Can anyone comment on it? Is anyone using it?

Jörn

-- 
Learn the rules so you know how to break them properly.
-- reputely from the Dalai Lama, unverified

--- dilnetpc.c.old	Mon Mar 11 20:17:03 2002
+++ dilnetpc.c	Mon Mar 11 20:18:13 2002
@@ -319,7 +319,7 @@
 	},
 	{ 
 		name:		"ADNP system BIOS", 
-		offset:		MTDPART_OFS_NXTBLK,
+		offset:		MTDPART_OFS_APPEND,
 		size:		0x10000,
 #ifdef DNPC_BIOS_BLOCKS_WRITEPROTECTED
 		mask_flags:	MTD_WRITEABLE,
@@ -327,12 +327,12 @@
 	},
 	{
 		name:		"ADNP file system",
-		offset:		MTDPART_OFS_NXTBLK,
+		offset:		MTDPART_OFS_APPEND,
 		size:		0x2f0000,
 	},
 	{
 		name:		"ADNP system BIOS entry", 
-		offset:		MTDPART_OFS_NXTBLK,
+		offset:		MTDPART_OFS_APPEND,
 		size:		0x10000,
 #ifdef DNPC_BIOS_BLOCKS_WRITEPROTECTED
 		mask_flags:	MTD_WRITEABLE,




More information about the linux-mtd mailing list