diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2000-04-02 23:19:27 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2000-04-02 23:19:27 +0000 |
commit | 03f34fa8e39d66a9dd84b61798afa1755d22adc0 (patch) | |
tree | a755fda6bf9922ca7f7fc074b7b7ed86f7543194 /sys/dev/ic | |
parent | 63e39995e0b8a96f38147304319c23f803fe2b39 (diff) |
adw_intr should only claim adw interrupts. Two typos.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/adw.c | 8 |
1 files 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. */ |