diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-05 15:56:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-05 15:56:33 +0000 |
commit | 74d260749ea58c587f154bf4c0ffa1cfbac01cc9 (patch) | |
tree | f2c0e7cfcb198704a48ac59ac83cb4bce251ec4b /sys/dev/ic/am7990.c | |
parent | ec79044cd6a3054a27b2deae17d83971d780d017 (diff) |
from netbsd: LEINTR_UNIT goes away
Diffstat (limited to 'sys/dev/ic/am7990.c')
-rw-r--r-- | sys/dev/ic/am7990.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/ic/am7990.c b/sys/dev/ic/am7990.c index 8bd6769e09c..6fbca30a633 100644 --- a/sys/dev/ic/am7990.c +++ b/sys/dev/ic/am7990.c @@ -1,4 +1,4 @@ -/* $NetBSD: am7990.c,v 1.8 1995/12/11 19:48:53 mycroft Exp $ */ +/* $NetBSD: am7990.c,v 1.10 1996/01/02 21:51:56 thorpej Exp $ */ /*- * Copyright (c) 1995 Charles M. Hannum. All rights reserved. @@ -582,19 +582,11 @@ letint(sc) /* * Controller interrupt. */ -#ifdef LEINTR_UNIT -int -leintr(unit) - int unit; -{ - register struct le_softc *sc = LE_SOFTC(unit); -#else int leintr(arg) register void *arg; { register struct le_softc *sc = arg; -#endif register u_int16_t isr; isr = lerdcsr(sc, LE_CSR0); |