diff options
author | se <se@FreeBSD.org> | 1995-03-21 22:41:19 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1995-03-21 22:41:19 +0000 |
commit | dfcb9a52802826f9636f68b4e6910a362a4c2bd7 (patch) | |
tree | 41005689d942902bf21b052d2db9ca7ead572977 /sys/dev/de | |
parent | 53910021c6e49c49a5f691032880b25917def385 (diff) | |
download | FreeBSD-src-dfcb9a52802826f9636f68b4e6910a362a4c2bd7.zip FreeBSD-src-dfcb9a52802826f9636f68b4e6910a362a4c2bd7.tar.gz |
Cosmetic changes.
Submitted by: Wolfgang Stnglmeier <wolf@kintaro.cologne.de>
Diffstat (limited to 'sys/dev/de')
-rw-r--r-- | sys/dev/de/if_de.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index 494a0fb..c2d6262 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -21,7 +21,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: if_de.c,v 1.17 1995/03/16 17:41:20 se Exp $ + * $Id: if_de.c,v 1.18 1995/03/17 04:27:16 davidg Exp $ * */ @@ -35,7 +35,7 @@ * board which support DC21040. */ -#define IF_DE_C_PATCHLEVEL "pl1 95/03/09" +#define __IF_DE_C__ "pl2 95/03/21" #include "de.h" #if NDE > 0 @@ -664,17 +664,17 @@ tulip_intr( tulip_softc_t *sc) { tulip_uint32_t csr; - int active=0; + int progress=0; while ((csr = *sc->tulip_csrs.csr_status) & (TULIP_STS_NORMALINTR|TULIP_STS_ABNRMLINTR)) { - active=1; + progress = 1; *sc->tulip_csrs.csr_status = csr & sc->tulip_intrmask; if (csr & TULIP_STS_SYSERROR) { if ((csr & TULIP_STS_ERRORMASK) == TULIP_STS_ERR_PARITY) { TULIP_RESET(sc); tulip_init(sc->tulip_unit); - return 1; + break; } } if (csr & TULIP_STS_ABNRMLINTR) { @@ -689,7 +689,7 @@ tulip_intr( tulip_start(&sc->tulip_if); } } - return (active); + return (progress); } /* |