summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/midway.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/midway.c b/sys/dev/ic/midway.c
index bdf33902f24..534bf3e86a3 100644
--- a/sys/dev/ic/midway.c
+++ b/sys/dev/ic/midway.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: midway.c,v 1.12 1996/07/17 03:52:01 chuck Exp $ */
-/* (sync'd to midway.c 1.61) */
+/* $OpenBSD: midway.c,v 1.13 1996/08/02 02:49:48 chuck Exp $ */
+/* (sync'd to midway.c 1.62) */
/*
*
@@ -557,12 +557,12 @@ struct en_softc *sc;
for (check = MID_PROBEOFF ; check < lcv ; check += MID_PROBSIZE) {
reg = EN_READ(sc, check);
if (reg != check) { /* found an alias! */
- lcv -= MID_PROBSIZE; /* take one step back */
goto done_probe; /* and quit */
}
}
}
done_probe:
+ lcv -= MID_PROBSIZE; /* take one step back */
sc->en_obmemsz = (lcv + 4) - MID_RAMOFF;
/*