Bring in bug fix from 'SCSI' branch.
This commit is contained in:
parent
853a7bc893
commit
b109ceda2f
@ -31,7 +31,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: aic7xxx.c,v 1.77 1996/10/06 16:38:25 gibbs Exp $
|
||||
* $Id: aic7xxx.c,v 1.78 1996/10/06 19:42:59 gibbs Exp $
|
||||
*/
|
||||
/*
|
||||
* TODO:
|
||||
@ -582,7 +582,7 @@ ahc_scsirate(ahc, scsirate, period, offset, channel, target )
|
||||
*scsirate = 0;
|
||||
*period = 0;
|
||||
*offset = 0;
|
||||
if(bootverbose)
|
||||
if (bootverbose)
|
||||
printf("%s: target %d using asyncronous transfers\n",
|
||||
ahc_name(ahc), target );
|
||||
}
|
||||
@ -1819,7 +1819,7 @@ ahc_handle_seqint(ahc, intstat)
|
||||
sxfr |= 0x100;
|
||||
|
||||
for (i = 0; i < ahc_num_syncrates; i++)
|
||||
if (target_scratch == ahc_syncrates[i].sxfr)
|
||||
if (sxfr == ahc_syncrates[i].sxfr)
|
||||
break;
|
||||
|
||||
ahc_construct_sdtr(ahc, AHC_INB(ahc, MSG_LEN),
|
||||
|
@ -26,8 +26,8 @@
|
||||
|
||||
/* Identify message */ /* M/M */
|
||||
#define MSG_IDENTIFYFLAG 0x80
|
||||
#define MSG_IDENTIFY(lun, disc) ((disc) ? 0xc0 : 0x80) | (lun))
|
||||
#define MSG_ISIDENTIFY(m) ((m) & MSG_INDENTIFYFLAG)
|
||||
#define MSG_IDENTIFY(lun, disc) ((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun))
|
||||
#define MSG_ISIDENTIFY(m) ((m) & MSG_IDENTIFYFLAG)
|
||||
|
||||
/* Extended messages (opcode and length) */
|
||||
#define MSG_EXT_SDTR 0x01
|
||||
|
Loading…
x
Reference in New Issue
Block a user