summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2013-09-19 15:01:49 (GMT)
committerH. Peter Anvin <hpa@linux.intel.com>2013-09-19 15:01:49 (GMT)
commit2db7072611d2b361f8fa9c0e8145b04652a88fbc (patch)
tree7d022d8e5dfff9b71910ebff5ec92a75914fc888
parentb49c09b3748efac361f2f101d5b4bb446f0dfbeb (diff)
downloadabc80sim-2db7072611d2b361f8fa9c0e8145b04652a88fbc.zip
abc80sim-2db7072611d2b361f8fa9c0e8145b04652a88fbc.tar.gz
abc80sim-2db7072611d2b361f8fa9c0e8145b04652a88fbc.tar.bz2
abc80sim-2db7072611d2b361f8fa9c0e8145b04652a88fbc.tar.xz
disk.c: make #if for interleaved disk format explicit
If taking a disk dump on non-ABC hardware, at least MO disks will be software-interleaved, so there is an option to handle that format.
-rw-r--r--disk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/disk.c b/disk.c
index e9ceeae..3d459a7 100644
--- a/disk.c
+++ b/disk.c
@@ -10,6 +10,7 @@
#define NOTTHERE 0
#define READONLY 0
#define TRACE 0
+#define INTERLEAVE 0
/* This is the interpretation of an "out" command */
enum out_state {
@@ -43,7 +44,7 @@ static struct ctl_state mo_state =
{
.secperclust = 1,
.sectors = 40*1*16,
-#if 0
+#if INTERLEAVE
.ilmsk = 15,
.ilfac = 7,
#endif