From 1ab9101a97f861480254d7bb11587835027d42fa Mon Sep 17 00:00:00 2001 From: germeier Date: Thu, 17 Jul 2003 16:18:01 +0000 Subject: added non-standard SmartMedia chip ID, as reported by Andreas --- ChangeLog | 4 ++++ libmpio/src/smartmedia.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cb7a07c..6555fa9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-07-17 Markus Germeier + * libmpio/src/smartmedia.c (mpio_id2mem): + added non-standard SmartMedia chip ID, as reported by Andreas + 2003-07-15 Markus Germeier * libmpio/src/directory.c (mpio_dentry_get_real): follow up fix for the broken internal FAT fix 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); -- cgit v1.2.3