diff options
| author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1997-04-26 05:05:00 +0000 |
|---|---|---|
| committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1997-04-26 05:05:00 +0000 |
| commit | bbdad2a858367cdc10bf21375637c124d90e6e51 (patch) | |
| tree | 8a164f013f54ba7cb9ec2eacba3f9cf85116367a /sys | |
| parent | cfb33423634860438debf6ec374c86842bff48e2 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/i386/scsi/aic7xxx.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sys/i386/scsi/aic7xxx.c b/sys/i386/scsi/aic7xxx.c index 2810a5eaea05..86fe692f2555 100644 --- a/sys/i386/scsi/aic7xxx.c +++ b/sys/i386/scsi/aic7xxx.c @@ -32,7 +32,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: aic7xxx.c,v 1.29.2.38 1997/04/11 16:45:51 gibbs Exp $ + * $Id: aic7xxx.c,v 1.29.2.39 1997/04/18 16:51:14 gibbs Exp $ */ /* * TODO: @@ -960,8 +960,9 @@ ahc_handle_seqint(ahc, intstat) { u_int8_t rejbyte = ahc_inb(ahc, REJBYTE); printf("%s:%c:%d: Warning - unknown message received from " - "target (0x%x). Rejecting\n", - ahc_name(ahc), channel, target, rejbyte); + "target (0x%x). SEQ_FLAGS == 0x%x. Rejecting\n", + ahc_name(ahc), channel, target, rejbyte, + ahc_inb(ahc, SEQ_FLAGS)); break; } case NO_IDENT: @@ -1282,7 +1283,12 @@ ahc_handle_seqint(ahc, intstat) sg->addr = vtophys(&xs->sense); sg->len = sizeof(struct scsi_sense_data); - hscb->control &= DISCENB; + /* XXX should allow disconnection, but + * can't as it might allow overlapped + * tagged commands. + */ + /* hscb->control &= DISCENB; */ + hscb->control = 0; hscb->status = 0; hscb->SG_segment_count = 1; hscb->SG_list_pointer = vtophys(sg); |
