mtd/drivers/mtd/devices blkmtd.c,1.16,1.17 blkmtd-25.c,1.1,1.2
David Woodhouse
dwmw2 at infradead.org
Fri Jan 24 08:00:26 EST 2003
Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv21490
Modified Files:
blkmtd.c blkmtd-25.c
Log Message:
KiB pedanty
Index: blkmtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/blkmtd.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- blkmtd.c 12 Sep 2002 16:29:31 -0000 1.16
+++ blkmtd.c 24 Jan 2003 13:00:24 -0000 1.17
@@ -48,8 +48,8 @@
#define crit(format, arg...) printk(KERN_CRIT "blkmtd: " format "\n" , ## arg)
-/* Default erase size in K, always make it a multiple of PAGE_SIZE */
-#define CONFIG_MTD_BLKDEV_ERASESIZE (128 << 10) /* 128K */
+/* Default erase size in KiB, always make it a multiple of PAGE_SIZE */
+#define CONFIG_MTD_BLKDEV_ERASESIZE (128 << 10) /* 128KiB */
#define VERSION "1.10"
/* Info for the block device */
@@ -84,7 +84,7 @@
MODULE_PARM(device, "1-4s");
MODULE_PARM_DESC(device, "block device to use");
MODULE_PARM(erasesz, "1-4i");
-MODULE_PARM_DESC(erasesz, "optional erase size to use in KB. eg 4=4K.");
+MODULE_PARM_DESC(erasesz, "optional erase size to use in KiB. eg 4=4KiB.");
MODULE_PARM(ro, "1-4i");
MODULE_PARM_DESC(ro, "1=Read only, writes and erases cause errors");
MODULE_PARM(sync, "i");
@@ -921,7 +921,7 @@
free_device(dev);
return NULL;
} else {
- info("mtd%d: [%s] erase_size = %dK %s",
+ info("mtd%d: [%s] erase_size = %dKiB %s",
dev->mtd_info.index, dev->mtd_info.name + strlen("blkmtd: "),
dev->mtd_info.erasesize >> 10,
(dev->wr_buf) ? "" : "(read-only)");
Index: blkmtd-25.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/blkmtd-25.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- blkmtd-25.c 25 Nov 2002 16:35:44 -0000 1.1
+++ blkmtd-25.c 24 Jan 2003 13:00:24 -0000 1.2
@@ -38,7 +38,7 @@
/* Default erase size in K, always make it a multiple of PAGE_SIZE */
-#define CONFIG_MTD_BLKDEV_ERASESIZE (128 << 10) /* 128K */
+#define CONFIG_MTD_BLKDEV_ERASESIZE (128 << 10) /* 128KiB */
#define VERSION "1.12"
/* Info for the block device */
@@ -71,7 +71,7 @@
MODULE_PARM(device, "1-4s");
MODULE_PARM_DESC(device, "block device to use");
MODULE_PARM(erasesz, "1-4i");
-MODULE_PARM_DESC(erasesz, "optional erase size to use in KB. eg 4=4K.");
+MODULE_PARM_DESC(erasesz, "optional erase size to use in KiB. eg 4=4KiB.");
MODULE_PARM(ro, "1-4i");
MODULE_PARM_DESC(ro, "1=Read only, writes and erases cause errors");
MODULE_PARM(sync, "i");
@@ -739,7 +739,7 @@
list_del(&dev->list);
goto devinit_err;
} else {
- info("mtd%d: [%s] erase_size = %dK %s",
+ info("mtd%d: [%s] erase_size = %dKiB %s",
dev->mtd_info.index, dev->mtd_info.name + strlen("blkmtd: "),
dev->mtd_info.erasesize >> 10,
readonly ? "(read-only)" : "");
More information about the linux-mtd-cvs
mailing list