From: krw Date: Sun, 2 Apr 2000 23:19:26 +0000 (+0000) Subject: adw_intr should only claim adw interrupts. Two typos. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6b98043e8c203ecc6d350ec99ef2bf7280d2bf85;p=openbsd adw_intr should only claim adw interrupts. Two typos. --- 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. */