amiflop.c (0a3a98f6dd4e8f4d928a09302c0d1c56f2192ac3) | amiflop.c (b4290a23cfa9040e2f0de5ab57d6ea65abaf053b) |
---|---|
1/* 2 * linux/amiga/amiflop.c 3 * 4 * Copyright (C) 1993 Greg Harp 5 * Portions of this driver are based on code contributed by Brad Pepers 6 * 7 * revised 28.5.95 by Joerg Dorchain 8 * - now no bugs(?) any more for both HD & DD --- 180 unchanged lines hidden (view full) --- 189 190/* 191 * Note that MAX_ERRORS=X doesn't imply that we retry every bad read 192 * max X times - some types of errors increase the errorcount by 2 or 193 * even 3, so we might actually retry only X/2 times before giving up. 194 */ 195#define MAX_ERRORS 12 196 | 1/* 2 * linux/amiga/amiflop.c 3 * 4 * Copyright (C) 1993 Greg Harp 5 * Portions of this driver are based on code contributed by Brad Pepers 6 * 7 * revised 28.5.95 by Joerg Dorchain 8 * - now no bugs(?) any more for both HD & DD --- 180 unchanged lines hidden (view full) --- 189 190/* 191 * Note that MAX_ERRORS=X doesn't imply that we retry every bad read 192 * max X times - some types of errors increase the errorcount by 2 or 193 * even 3, so we might actually retry only X/2 times before giving up. 194 */ 195#define MAX_ERRORS 12 196 |
197#define custom amiga_custom 198 |
|
197/* Prevent "aliased" accesses. */ 198static int fd_ref[4] = { 0,0,0,0 }; 199static int fd_device[4] = { 0, 0, 0, 0 }; 200 201/* 202 * Here come the actual hardware access and helper functions. 203 * They are not reentrant and single threaded because all drives 204 * share the same hardware and the same trackbuffer. --- 1644 unchanged lines hidden --- | 199/* Prevent "aliased" accesses. */ 200static int fd_ref[4] = { 0,0,0,0 }; 201static int fd_device[4] = { 0, 0, 0, 0 }; 202 203/* 204 * Here come the actual hardware access and helper functions. 205 * They are not reentrant and single threaded because all drives 206 * share the same hardware and the same trackbuffer. --- 1644 unchanged lines hidden --- |