patch-2.4.0-test4 linux/drivers/mtd/mtdram.c
Next file: linux/drivers/mtd/nftl.c
Previous file: linux/drivers/mtd/mtdcore.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Jul 13 10:19:55 2000
- Orig file:
v2.4.0-test3/linux/drivers/mtd/mtdram.c
- Orig date:
Mon Jul 10 16:47:23 2000
diff -u --recursive --new-file v2.4.0-test3/linux/drivers/mtd/mtdram.c linux/drivers/mtd/mtdram.c
@@ -1,6 +1,6 @@
/*
* mtdram - a test mtd device
- * $Id: mtdram.c,v 1.13 2000/07/03 10:01:38 dwmw2 Exp $
+ * $Id: mtdram.c,v 1.15 2000/07/13 12:40:46 scote1 Exp $
* Author: Alexander Larsson <alex@cendio.se>
*
* Copyright (c) 1999 Alexander Larsson <alex@cendio.se>
@@ -17,8 +17,8 @@
#include <linux/mtd/mtd.h>
-#define MTDRAM_TOTAL_SIZE 1024*1024*8
-#define MTDRAM_ERASE_SIZE 4*1024
+#define MTDRAM_TOTAL_SIZE (CONFIG_MTDRAM_TOTAL_SIZE * 1024)
+#define MTDRAM_ERASE_SIZE (CONFIG_MTDRAM_ERASE_SIZE * 1024)
// We could store these in the mtd structure, but we only support 1 device..
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)