From: Markus G. <ger...@us...> - 2004-05-30 16:29:00
|
Update of /cvsroot/mpio/mpio/libmpio In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24870/libmpio Modified Files: Makefile.am defs.h Log Message: added Roberts MMC code (step 1) Index: defs.h =================================================================== RCS file: /cvsroot/mpio/mpio/libmpio/defs.h,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** defs.h 23 Apr 2004 19:21:07 -0000 1.34 --- defs.h 30 May 2004 16:28:51 -0000 1.35 *************** *** 66,69 **** --- 66,73 ---- GET_SPARE_AREA = 0x07, PUT_BLOCK = 0x08, + MMC_GET_BLOCK = 0x11, + MMC_GET_BIG_BLOCK= 0x12, + MMC_WRITE_SECTOR = 0x18, + MMC_WRITE_CLUSTER= 0x19, PUT_MEGABLOCK = 0x30, MODIFY_FIRMWARE = 0xa0 } mpio_cmd_t; *************** *** 266,269 **** --- 270,279 ---- BYTE recursive_directory; + /* OK sue me, we can also handle the MMCs with this */ + BYTE mmc; /* Added for external MMC memory modules */ + int mmc_sector_size; /* Bytes/sector */ + BYTE mmc_cluster_size; /* Sectors/Cluster */ + int mmc_addressing_offset; /* Offset used in addressing - varies for mmc chip size */ + } mpio_smartmedia_t; Index: Makefile.am =================================================================== RCS file: /cvsroot/mpio/mpio/libmpio/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Makefile.am 19 Oct 2003 21:06:34 -0000 1.10 --- Makefile.am 30 May 2004 16:28:51 -0000 1.11 *************** *** 10,13 **** --- 10,14 ---- src/debug.c \ src/smartmedia.c \ + src/mmc.c \ src/directory.c \ src/fat.c \ *************** *** 28,31 **** --- 29,33 ---- src/io.h \ src/smartmedia.h \ + src/mmc.h \ src/directory.h \ src/fat.h \ |