diff options
author | phk <phk@FreeBSD.org> | 1996-08-04 20:04:11 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-08-04 20:04:11 +0000 |
commit | 6248c0458735dcfb6edffa806e35759d72d19dc9 (patch) | |
tree | d6cc15a48ff7dfb80cfc417e27eea979baa9f52a /sys/i386/isa | |
parent | 45d8d4963a998241ca4c12a5e801d6bdec3e40de (diff) | |
download | FreeBSD-src-6248c0458735dcfb6edffa806e35759d72d19dc9.zip FreeBSD-src-6248c0458735dcfb6edffa806e35759d72d19dc9.tar.gz |
Reduce reset timeout. "only" 16 seconds (!) for a 512K board.
Diffstat (limited to 'sys/i386/isa')
-rw-r--r-- | sys/i386/isa/if_eg.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/i386/isa/if_eg.c b/sys/i386/isa/if_eg.c index 6b21fb5..829a63039 100644 --- a/sys/i386/isa/if_eg.c +++ b/sys/i386/isa/if_eg.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: if_eg.c,v 1.15 1996/08/04 10:58:16 phk Exp $ * * Support for 3Com 3c505 Etherlink+ card. */ @@ -335,12 +335,11 @@ egprobe(struct isa_device * id) /* hard reset card */ outb(sc->eg_ctl, EG_CTL_RESET); outb(sc->eg_ctl, 0); - for (i = 0; i < 2500; i++) { + for (i = 0; i < 1600; i++) { DELAY(10000); if ((inb(sc->eg_stat) & EG_PCB_STAT) == EG_PCB_NULL) break; } -printf ("%d\n",i); if ((inb(sc->eg_stat) & EG_PCB_STAT) != EG_PCB_NULL) { dprintf(("eg#: eg: Reset failed\n")); return 0; |