aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgermeier <germeier>2003-03-24 19:19:18 +0000
committergermeier <germeier>2003-03-24 19:19:18 +0000
commit59256336cfaaa7feec76f0c4235382fb91eed243 (patch)
treea6ad06b9e8693a6eca5ec3a8a4a2307a85d3f4d9
parentc9212d41b0c496262a9356e074a3d3320b331642 (diff)
downloadmpiosh-59256336cfaaa7feec76f0c4235382fb91eed243.tar.gz
mpiosh-59256336cfaaa7feec76f0c4235382fb91eed243.tar.bz2
mpiosh-59256336cfaaa7feec76f0c4235382fb91eed243.zip
ignore external memory on FL100 until we know how to support it
-rw-r--r--libmpio/mpio.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/libmpio/mpio.c b/libmpio/mpio.c
index 00ee3f8..15b7e82 100644
--- a/libmpio/mpio.c
+++ b/libmpio/mpio.c
@@ -1,6 +1,6 @@
/*
*
- * $Id: mpio.c,v 1.43 2003/03/22 19:31:05 germeier Exp $
+ * $Id: mpio.c,v 1.44 2003/03/24 19:19:18 germeier Exp $
*
* Library for USB MPIO-*
*
@@ -193,7 +193,9 @@ mpio_init_external(mpio_t *m)
while((e_offset < 0x3a) && !(mpio_id_valid(m->version[e_offset])))
e_offset++;
- if (mpio_id_valid(m->version[e_offset]))
+ if ((mpio_id_valid(m->version[e_offset])) &&
+ (m->model != MPIO_MODEL_FL100)) /* ignore external memory ATM until
+ we know how to support it! */
{
sm->manufacturer = m->version[e_offset];
sm->id = m->version[e_offset + 1];
@@ -306,8 +308,8 @@ mpio_init(mpio_callback_init_t progress_callback)
} else if (strncmp(new_mpio->version, "FL100", 5) == 0) {
/* we assume this model is not supported */
new_mpio->model = MPIO_MODEL_FL100;
- debug("FL100 found: Beware, this model is assumed to be not supported"
- " at the moment because it uses MultiMediaCards instead of SmartMedia\n");
+ debug("FL100 found: External memory is ignored, because we don't know how"
+ " to support it at the moment (MultiMediaCards instead of SmartMedia)\n");
} else if (strncmp(new_mpio->version, "FY100", 5) == 0) {
new_mpio->model = MPIO_MODEL_FY100;
/* I assume this is like the FD100/FL100, I didn't had the chance to