diff options
-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 77a9981..81af392 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.116 1997/04/14 02:27:50 gibbs Exp $ + * $Id: aic7xxx.c,v 1.117 1997/04/18 16:34:36 gibbs Exp $ */ /* * TODO: @@ -961,8 +961,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: @@ -1283,7 +1284,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); |