diff options
author | germeier <germeier> | 2004-01-13 11:37:34 +0000 |
---|---|---|
committer | germeier <germeier> | 2004-01-13 11:37:34 +0000 |
commit | 5710b6d9a5b799daf6ad8039424f46b6c5bd93c6 (patch) | |
tree | 2e350c81c5f628959e9e08b38185ebbb4b5d0cf0 | |
parent | f9c5bc4c7786ee40149256fcd15389ce237dcc3a (diff) | |
download | mpiosh-5710b6d9a5b799daf6ad8039424f46b6c5bd93c6.tar.gz mpiosh-5710b6d9a5b799daf6ad8039424f46b6c5bd93c6.tar.bz2 mpiosh-5710b6d9a5b799daf6ad8039424f46b6c5bd93c6.zip |
added infos for FY100
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | libmpio/defs.h | 9 | ||||
-rw-r--r-- | libmpio/src/io.c | 3 | ||||
-rw-r--r-- | libmpio/src/mpio.c | 5 |
4 files changed, 15 insertions, 6 deletions
@@ -1,3 +1,7 @@ +2004-01-13 Markus Germeier <mager@tzi.de> + * Added FY200 informations which is reported to work + external memory is supposed to work with these changes + 2004-01-12 Markus Germeier <mager@tzi.de> * libmpio/src/smartmedia.c (mpio_id2mem): updated chip IDs which were reported quite some time ago diff --git a/libmpio/defs.h b/libmpio/defs.h index 38c1399..65201a0 100644 --- a/libmpio/defs.h +++ b/libmpio/defs.h @@ -1,5 +1,5 @@ /* - * $Id: defs.h,v 1.31 2003/10/19 21:06:34 germeier Exp $ + * $Id: defs.h,v 1.32 2004/01/13 11:37:34 germeier Exp $ * * libmpio - a library for accessing Digit@lways MPIO players * Copyright (C) 2002, 2003 Markus Germeier @@ -54,9 +54,10 @@ typedef enum { MPIO_MODEL_DME = 0x00, MPIO_MODEL_FD100 = 0x06, MPIO_MODEL_FL100 = 0x07, MPIO_MODEL_FY100 = 0x08, - MPIO_MODEL_VP_01 = 0x09, - MPIO_MODEL_VP_02 = 0x0a, - MPIO_MODEL_UNKNOWN = 0x0b } mpio_model_t; + MPIO_MODEL_FY200 = 0x09, + MPIO_MODEL_VP_01 = 0x0a, + MPIO_MODEL_VP_02 = 0x0b, + MPIO_MODEL_UNKNOWN = 0x0c } mpio_model_t; /* USB commands */ typedef enum { GET_VERSION = 0x01, diff --git a/libmpio/src/io.c b/libmpio/src/io.c index 7f29032..8ff5ca9 100644 --- a/libmpio/src/io.c +++ b/libmpio/src/io.c @@ -1,5 +1,5 @@ /* - * $Id: io.c,v 1.8 2003/10/19 21:44:16 germeier Exp $ + * $Id: io.c,v 1.9 2004/01/13 11:37:34 germeier Exp $ * * libmpio - a library for accessing Digit@lways MPIO players * Copyright (C) 2002, 2003 Markus Germeier @@ -60,6 +60,7 @@ model2externalmem(mpio_model_t model) case MPIO_MODEL_DMG_PLUS: case MPIO_MODEL_FD100: case MPIO_MODEL_FY100: + case MPIO_MODEL_FY200: case MPIO_MODEL_VP_01: m = 0x80; break; diff --git a/libmpio/src/mpio.c b/libmpio/src/mpio.c index 99c3507..3e08617 100644 --- a/libmpio/src/mpio.c +++ b/libmpio/src/mpio.c @@ -1,5 +1,5 @@ /* - * $Id: mpio.c,v 1.10 2003/10/19 21:06:35 germeier Exp $ + * $Id: mpio.c,v 1.11 2004/01/13 11:37:34 germeier Exp $ * * libmpio - a library for accessing Digit@lways MPIO players * Copyright (C) 2002, 2003 Markus Germeier @@ -63,6 +63,7 @@ static BYTE *mpio_model_name[] = { "MPIO-FD100", "MPIO-FL100", "MPIO-FY100", + "MPIO-FY200", "VirginPulse VP-01", "VirginPulse VP-02", "unknown" @@ -389,6 +390,8 @@ mpio_init(mpio_callback_init_t progress_callback) look at a FY100 firmware yet. -mager */ debug("FY100 found: Beware, this model is not tested and we don't know" " if it does work!\n"); + } else if (strncmp(new_mpio->version, "FY200", 5) == 0) { + new_mpio->model = MPIO_MODEL_FY200; } else if (strncmp(new_mpio->version, "VP-01", 5) == 0) { /* This is a FY100 clone! */ new_mpio->model = MPIO_MODEL_VP_01; |