Subject: Re: kernel hang on boot/i386, atapi
To: Phil Nelson <phil@cs.wwu.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 09/12/1997 11:56:59
On Fri, 12 Sep 1997 11:47:09 -0700 (PDT)
Phil Nelson <phil@cs.wwu.edu> wrote:
> cc1: warnings being treated as errors
> ../../../../dev/isa/wdc.c: In function `wdcintr':
> ../../../../dev/isa/wdc.c:990: warning: control reaches end of non-void function
> *** Error code 1
>
> Stop.
>
>
> Note: I did not reenable "wd* ..." or the atapi stuff.
It seems like the semantics for dealing with ata vs. atapi interrupts are
wrong. Actually, the return value semantics are wrong.
Interrupt routines are supposed to return:
1 Interrupt was ours.
0 Interrupt was not ours.
-1 Interrupt might not be ours.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-6 Work: +1 415 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939