This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fatfs and io disk misc patches


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]