summaryrefslogtreecommitdiffstats
path: root/sys/dev/de
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1995-03-21 22:41:19 +0000
committerse <se@FreeBSD.org>1995-03-21 22:41:19 +0000
commitdfcb9a52802826f9636f68b4e6910a362a4c2bd7 (patch)
tree41005689d942902bf21b052d2db9ca7ead572977 /sys/dev/de
parent53910021c6e49c49a5f691032880b25917def385 (diff)
downloadFreeBSD-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.c12
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);
}
/*
OpenPOWER on IntegriCloud