aboutsummaryrefslogtreecommitdiff
path: root/libmpio
diff options
context:
space:
mode:
authorgermeier <germeier>2003-04-21 09:17:38 +0000
committergermeier <germeier>2003-04-21 09:17:38 +0000
commit7596de22c86a2a9cd8ab13b71a2e6b8c3ebe08fb (patch)
tree074e26ec4e77440caaa8ba40ec6ed8aedd13677f /libmpio
parente1a3c5f7bbc5958c995c741b8dabf935c318ddec (diff)
downloadmpiosh-7596de22c86a2a9cd8ab13b71a2e6b8c3ebe08fb.tar.gz
mpiosh-7596de22c86a2a9cd8ab13b71a2e6b8c3ebe08fb.tar.bz2
mpiosh-7596de22c86a2a9cd8ab13b71a2e6b8c3ebe08fb.zip
fixed disc geometry, reported by Yury. Thanks.
Diffstat (limited to 'libmpio')
-rw-r--r--libmpio/smartmedia.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libmpio/smartmedia.c b/libmpio/smartmedia.c
index fc8c286..9a34683 100644
--- a/libmpio/smartmedia.c
+++ b/libmpio/smartmedia.c
@@ -2,7 +2,7 @@
/*
*
- * $Id: smartmedia.c,v 1.2 2002/09/03 10:22:24 germeier Exp $
+ * $Id: smartmedia.c,v 1.3 2003/04/21 09:17:38 germeier Exp $
*
* Library for USB MPIO-*
*
@@ -32,13 +32,14 @@
#include "smartmedia.h"
#include "debug.h"
+mpio_disk_phy_t MPIO_DISK_GEO_001={ 125, 4, 4, 2000 };
mpio_disk_phy_t MPIO_DISK_GEO_002={ 125, 4, 8, 4000 };
mpio_disk_phy_t MPIO_DISK_GEO_004={ 250, 4, 8, 8000 };
mpio_disk_phy_t MPIO_DISK_GEO_008={ 250, 4, 16, 16000 };
mpio_disk_phy_t MPIO_DISK_GEO_016={ 500, 4, 16, 32000 };
-mpio_disk_phy_t MPIO_DISK_GEO_032={ 500, 4, 16, 64000 };
-mpio_disk_phy_t MPIO_DISK_GEO_064={ 500, 4, 32, 128000 };
-mpio_disk_phy_t MPIO_DISK_GEO_128={ 500, 4, 32, 256000 };
+mpio_disk_phy_t MPIO_DISK_GEO_032={ 500, 8, 16, 64000 };
+mpio_disk_phy_t MPIO_DISK_GEO_064={ 500, 8, 32, 128000 };
+mpio_disk_phy_t MPIO_DISK_GEO_128={ 500,16, 32, 256000 };
/* This comes from the Samsung documentation files */