mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] devfs-core: add writesize in mtd partition ioctl
@ 2012-10-23  9:00 Alexander Aring
  2012-10-24  7:49 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Aring @ 2012-10-23  9:00 UTC (permalink / raw)
  To: barebox

Add writesize in mtd partition MEMGETINFO ioctl.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
 fs/devfs-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/devfs-core.c b/fs/devfs-core.c
index 2788fe7..0d2f75a 100644
--- a/fs/devfs-core.c
+++ b/fs/devfs-core.c
@@ -136,6 +136,7 @@ static int partition_ioctl(struct cdev *cdev, int request, void *buf)
 			user->flags	= cdev->mtd->flags;
 			user->size	= cdev->mtd->size;
 			user->erasesize	= cdev->mtd->erasesize;
+			user->writesize	= cdev->mtd->writesize;
 			user->oobsize	= cdev->mtd->oobsize;
 			user->mtd	= cdev->mtd;
 			/* The below fields are obsolete */
-- 
1.8.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] devfs-core: add writesize in mtd partition ioctl
  2012-10-23  9:00 [PATCH] devfs-core: add writesize in mtd partition ioctl Alexander Aring
@ 2012-10-24  7:49 ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-10-24  7:49 UTC (permalink / raw)
  To: Alexander Aring; +Cc: barebox

On Tue, Oct 23, 2012 at 11:00:00AM +0200, Alexander Aring wrote:
> Add writesize in mtd partition MEMGETINFO ioctl.
> 
> Signed-off-by: Alexander Aring <alex.aring@gmail.com>

Just checked, we already have this one.

Sascha

> ---
>  fs/devfs-core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/fs/devfs-core.c b/fs/devfs-core.c
> index 2788fe7..0d2f75a 100644
> --- a/fs/devfs-core.c
> +++ b/fs/devfs-core.c
> @@ -136,6 +136,7 @@ static int partition_ioctl(struct cdev *cdev, int request, void *buf)
>  			user->flags	= cdev->mtd->flags;
>  			user->size	= cdev->mtd->size;
>  			user->erasesize	= cdev->mtd->erasesize;
> +			user->writesize	= cdev->mtd->writesize;
>  			user->oobsize	= cdev->mtd->oobsize;
>  			user->mtd	= cdev->mtd;
>  			/* The below fields are obsolete */
> -- 
> 1.8.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] devfs-core: add writesize in mtd partition ioctl
  2012-10-21 20:59 [PATCH] progressbar: use __stringify in format string Alexander Aring
@ 2012-10-21 20:59 ` Alexander Aring
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Aring @ 2012-10-21 20:59 UTC (permalink / raw)
  To: barebox

Add writesize in mtd partition MEMGETINFO ioctl.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
 fs/devfs-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/devfs-core.c b/fs/devfs-core.c
index 2788fe7..0d2f75a 100644
--- a/fs/devfs-core.c
+++ b/fs/devfs-core.c
@@ -136,6 +136,7 @@ static int partition_ioctl(struct cdev *cdev, int request, void *buf)
 			user->flags	= cdev->mtd->flags;
 			user->size	= cdev->mtd->size;
 			user->erasesize	= cdev->mtd->erasesize;
+			user->writesize	= cdev->mtd->writesize;
 			user->oobsize	= cdev->mtd->oobsize;
 			user->mtd	= cdev->mtd;
 			/* The below fields are obsolete */
-- 
1.7.12.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-24  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23  9:00 [PATCH] devfs-core: add writesize in mtd partition ioctl Alexander Aring
2012-10-24  7:49 ` Sascha Hauer
  -- strict thread matches above, loose matches on Subject: below --
2012-10-21 20:59 [PATCH] progressbar: use __stringify in format string Alexander Aring
2012-10-21 20:59 ` [PATCH] devfs-core: add writesize in mtd partition ioctl Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox