From de662aeac43f8dc348fc0d5d83ebcc0394a71117 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 27 Aug 1994 15:28:34 +0000 Subject: [PATCH] Continue previous fix: Add MIN_DELAY definition instead of hard-coded 10 --- sys/dev/mcd/mcd.c | 8 +++++--- sys/i386/isa/mcd.c | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 64a2dd6361bf..1acd8044ec5d 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -39,7 +39,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.18 1994/08/13 03:50:09 wollman Exp $ + * $Id: mcd.c,v 1.19 1994/08/27 13:15:25 ache Exp $ */ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -62,6 +62,8 @@ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; #include #include +#define MIN_DELAY 10 + /* user definable options */ /*#define MCD_TO_WARNING_ON*/ /* define to get timeout messages */ /*#define MCDMINI*/ /* define for a mini configuration for boot kernel */ @@ -637,10 +639,10 @@ mcd_waitrdy(int port,int dly) int i; /* wait until xfer port senses data ready */ - for (i=0; i #include +#define MIN_DELAY 10 + /* user definable options */ /*#define MCD_TO_WARNING_ON*/ /* define to get timeout messages */ /*#define MCDMINI*/ /* define for a mini configuration for boot kernel */ @@ -637,10 +639,10 @@ mcd_waitrdy(int port,int dly) int i; /* wait until xfer port senses data ready */ - for (i=0; i