From 6b98043e8c203ecc6d350ec99ef2bf7280d2bf85 Mon Sep 17 00:00:00 2001 From: krw Date: Sun, 2 Apr 2000 23:19:26 +0000 Subject: [PATCH] adw_intr should only claim adw interrupts. Two typos. --- sys/dev/ic/adw.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/dev/ic/adw.c b/sys/dev/ic/adw.c index b04b309103a..84bbe984263 100644 --- a/sys/dev/ic/adw.c +++ b/sys/dev/ic/adw.c @@ -301,7 +301,7 @@ adw_create_carriers(sc) } carr->next_vpa = carr_next; carr_next = carr->carr_pa; -carr->id = i; + carr->id = i; } sc->carr_freelist = carr; return (i); @@ -1021,9 +1021,11 @@ adw_intr(arg) */ if ((xs = sc->sc_queue.lh_first) != NULL) (void) adw_scsi_cmd(xs); + + return (1); } - return (1); + return (0); } @@ -1098,7 +1100,7 @@ adw_timeout(arg) /* - * adw__isr_callback() - Second Level Interrupt Handler called by AdvISR() + * adw_isr_callback() - Second Level Interrupt Handler called by AdvISR() * * Interrupt callback function for the Wide SCSI Adv Library. */ -- 2.20.1