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 --- libmpio/src/smartmedia.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libmpio') 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