diff options
author | germeier <germeier> | 2003-07-17 16:18:01 +0000 |
---|---|---|
committer | germeier <germeier> | 2003-07-17 16:18:01 +0000 |
commit | 1ab9101a97f861480254d7bb11587835027d42fa (patch) | |
tree | 3102e0de8fb3c7a182220170e0db60504ac219de /libmpio | |
parent | a51e2522aeab2605e0db7bead113e557d5dccd86 (diff) | |
download | mpiosh-1ab9101a97f861480254d7bb11587835027d42fa.tar.gz mpiosh-1ab9101a97f861480254d7bb11587835027d42fa.tar.bz2 mpiosh-1ab9101a97f861480254d7bb11587835027d42fa.zip |
added non-standard SmartMedia chip ID, as reported by Andreas
Diffstat (limited to 'libmpio')
-rw-r--r-- | libmpio/src/smartmedia.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libmpio/src/smartmedia.c b/libmpio/src/smartmedia.c index 196480f..ab8daa5 100644 --- a/libmpio/src/smartmedia.c +++ b/libmpio/src/smartmedia.c @@ -1,5 +1,5 @@ /* - * $Id: smartmedia.c,v 1.2 2003/04/30 07:17:01 germeier Exp $ + * $Id: smartmedia.c,v 1.3 2003/07/17 16:18:01 germeier Exp $ * * libmpio - a library for accessing Digit@lways MPIO players * Copyright (C) 2002, 2003 Markus Germeier @@ -71,6 +71,10 @@ mpio_id2mem(BYTE id) case 0x79: i=128; break; + case 0xf1: + debug("Oops, non-standard chip ID, assuming chip is 128MB"); + i=128; + break; default: debug("This should never happen (id2mem)!\n"); exit (1); |