summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2008-03-29 17:13:03 +0000
committerad <ad@NetBSD.org>2008-03-29 17:13:03 +0000
commit625a7a611a2ca6ed77b782764f9db2fb79dfb11c (patch)
treefeb0f7266be755c1feb96687cd7ecc8ddc79189a /sys/dev
parent5b571a159f9a059d43b0b6b677fe322e42504ff7 (diff)
Waiting 5s for the card to reset during probe is not cool!
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/if_eg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/if_eg.c b/sys/dev/isa/if_eg.c
index e6ef1d5867e..774b67cc854 100644
--- a/sys/dev/isa/if_eg.c
+++ b/sys/dev/isa/if_eg.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_eg.c,v 1.73 2007/10/19 12:00:17 ad Exp $ */
+/* $NetBSD: if_eg.c,v 1.74 2008/03/29 17:13:03 ad Exp $ */
/*
* Copyright (c) 1993 Dean Huxley <dean@fsa.ca>
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_eg.c,v 1.73 2007/10/19 12:00:17 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_eg.c,v 1.74 2008/03/29 17:13:03 ad Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -354,7 +354,7 @@ egprobe(struct device *parent, struct cfdata *match,
/* hard reset card */
bus_space_write_1(iot, ioh, EG_CONTROL, EG_CTL_RESET);
bus_space_write_1(iot, ioh, EG_CONTROL, 0);
- for (i = 0; i < 5000; i++) {
+ for (i = 0; i < 500; i++) {
delay(1000);
if ((bus_space_read_1(iot, ioh, EG_STATUS) &
EG_PCB_STAT) == EG_PCB_NULL)