From dd1da8a5afa6b081b97d88d058cd722a3cb2c51b Mon Sep 17 00:00:00 2001 From: David Greenman Date: Sat, 27 May 1995 04:40:57 +0000 Subject: [PATCH] Increased delay after reset to 10ms. Suggested by several people, the last of which was Scott Mace. This fixes a bug where the card would be missed sometimes during the device probe. --- sys/dev/ep/if_ep.c | 4 ++-- sys/i386/isa/if_ep.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index f4c6d957fc0..de75d41e72c 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -38,7 +38,7 @@ */ /* - * $Id: if_ep.c,v 1.25 1995/04/10 21:24:58 jkh Exp $ + * $Id: if_ep.c,v 1.26 1995/04/12 20:47:49 wollman Exp $ * * Promiscuous mode added and interrupt logic slightly changed * to reduce the number of adapter failures. Transceiver select @@ -210,7 +210,7 @@ ep_look_for_board_at(is) /* Look for the ISA boards. Init and leave them actived */ outb(id_port, 0xc0); /* Global reset */ - DELAY(1000); + DELAY(10000); for (i = 0; i < EP_MAX_BOARDS; i++) { outb(id_port, 0); outb(id_port, 0); diff --git a/sys/i386/isa/if_ep.c b/sys/i386/isa/if_ep.c index f4c6d957fc0..de75d41e72c 100644 --- a/sys/i386/isa/if_ep.c +++ b/sys/i386/isa/if_ep.c @@ -38,7 +38,7 @@ */ /* - * $Id: if_ep.c,v 1.25 1995/04/10 21:24:58 jkh Exp $ + * $Id: if_ep.c,v 1.26 1995/04/12 20:47:49 wollman Exp $ * * Promiscuous mode added and interrupt logic slightly changed * to reduce the number of adapter failures. Transceiver select @@ -210,7 +210,7 @@ ep_look_for_board_at(is) /* Look for the ISA boards. Init and leave them actived */ outb(id_port, 0xc0); /* Global reset */ - DELAY(1000); + DELAY(10000); for (i = 0; i < EP_MAX_BOARDS; i++) { outb(id_port, 0); outb(id_port, 0);