summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_zp.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-04-17 14:33:11 +0000
committernate <nate@FreeBSD.org>1997-04-17 14:33:11 +0000
commit4dbcd00a151a3ef0fecb9351f52f359c5cc13965 (patch)
tree2291c12939a498eddb8f5116882e7313cbc35ae0 /sys/i386/isa/if_zp.c
parentb38f98ddc9e3efbde3bcae4c57e2c0ba21ca803e (diff)
downloadFreeBSD-src-4dbcd00a151a3ef0fecb9351f52f359c5cc13965.zip
FreeBSD-src-4dbcd00a151a3ef0fecb9351f52f359c5cc13965.tar.gz
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 <skl@ScalableNetwork.com>
Diffstat (limited to 'sys/i386/isa/if_zp.c')
-rw-r--r--sys/i386/isa/if_zp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c
index 2398b40..c00ed24 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);
}
OpenPOWER on IntegriCloud