From 9fdb458452db0c420f44f1fec0cd6c684343cbca Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Thu, 17 Apr 1997 14:33:11 +0000 Subject: [PATCH] Quick and dirty attempt to get the zp device to work with the 3c589D. Increase the delay in read_eeprom_data() by two orders of magnitude. > A better fix would be to make read_eeprom_data() call > f_is_eeprom_busy() after the DELAY(). Submitted by: Samuel Lam --- sys/i386/isa/if_zp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c index 2398b4050d6..c00ed246497 100644 --- a/sys/i386/isa/if_zp.c +++ b/sys/i386/isa/if_zp.c @@ -34,7 +34,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $ - * $Id: if_zp.c,v 1.34 1997/02/22 09:36:38 peter Exp $ + * $Id: if_zp.c,v 1.35 1997/03/24 11:32:57 bde Exp $ */ /*- * TODO: @@ -1123,7 +1123,7 @@ read_eeprom_data(id_port, offset) { outb(id_port + 10, 0x80 + offset); - DELAY(1000); + DELAY(100000); return inw(id_port + 12); }