diff options
author | se <se@FreeBSD.org> | 1996-01-23 21:48:28 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1996-01-23 21:48:28 +0000 |
commit | 9516aa2cafa23657dcba24410ae70f85a607f592 (patch) | |
tree | 0c05d619dce00b4358e22aba692e8f11615d00c7 /sys/dev/fxp | |
parent | 1d9e7dac5c0c9137300b85bf72dbd842b1e65eaa (diff) | |
download | FreeBSD-src-9516aa2cafa23657dcba24410ae70f85a607f592.zip FreeBSD-src-9516aa2cafa23657dcba24410ae70f85a607f592.tar.gz |
Make PCI interrupt handlers return void like everybody else does.
Reviewed by: davidg
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 1c41cdf..ddafbef 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_fxp.c,v 1.7 1996/01/03 05:22:32 davidg Exp $ + * $Id: if_fxp.c,v 1.8 1996/01/15 10:12:41 davidg Exp $ */ /* @@ -138,7 +138,7 @@ static inline int fxp_scb_wait __P((struct fxp_csr *)); static char *fxp_probe __P((pcici_t, pcidi_t)); static void fxp_attach __P((pcici_t, int)); static int fxp_shutdown __P((struct kern_devconf *, int)); -static int fxp_intr __P((void *)); +static void fxp_intr __P((void *)); static void fxp_start __P((struct ifnet *)); static int fxp_ioctl __P((struct ifnet *, int, caddr_t)); static void fxp_init __P((struct ifnet *)); @@ -545,18 +545,16 @@ tbdinit: * Process interface interrupts. Returns 1 if the interrupt * was handled, 0 if it wasn't. */ -static int +static void fxp_intr(arg) void *arg; { struct fxp_softc *sc = arg; struct fxp_csr *csr = sc->csr; struct ifnet *ifp = &sc->arpcom.ac_if; - int found = 0; u_char statack; while ((statack = csr->scb_statack) != 0) { - found = 1; /* * First ACK all the interrupts in this pass. */ @@ -653,8 +651,6 @@ rcvloop: } } } - - return found; } /* |