This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: fatfs and io disk misc patches
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Savin Zlobec <savin at elatec dot si>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Tue, 29 Jun 2004 18:07:54 +0200
- Subject: Re: fatfs and io disk misc patches
- References: <40DA9B63.9000200@elatec.si>
On Thu, Jun 24, 2004 at 11:14:11AM +0200, Savin Zlobec wrote:
> Hi,
>
> a patch for disk.c which replaces malloc with predefined arrays
> and a new fatfs function fatfs_get_disk_usage which can be used
> by getinfo interface once the proper keys are defined.
> Index: io/disk/current/include/diskio.h
> ===================================================================
> RCS file: /cvs/ecos/ecos/packages/io/disk/current/include/diskio.h,v
> retrieving revision 1.1
> diff -u -w -r1.1 diskio.h
> --- io/disk/current/include/diskio.h 19 Jan 2004 14:35:03 -0000 1.1
> +++ io/disk/current/include/diskio.h 24 Jun 2004 08:38:57 -0000
> @@ -59,6 +59,8 @@
> extern "C" {
> #endif
>
> +#define CYG_DISK_MAX_PART_NUM 4
Please could you make this a CDL option, and i think it should really
be called something like CYGNUM_IO_DISK_PART_NUM
Andrew