Fix problem in the DC390_DefaultEEprom subroutine, which could lead
to spurious wites outside an alloccated array in the case of generic AMD SCSI cards. PR: kern/4217 Submitted by: Erik H. Moe <ehm@cris.com>
This commit is contained in:
parent
db4f31b740
commit
81473b0cdd
@ -1508,9 +1508,9 @@ DC390_DefaultEEprom( USHORT mechnum, USHORT index )
|
||||
*ptr = (TAG_QUEUING_|EN_DISCONNECT_|SYNC_NEGO_|PARITY_CHK_);
|
||||
ptr += 4;
|
||||
}
|
||||
ptr[EE_ADAPT_SCSI_ID] = 7;
|
||||
ptr[EE_MODE2] = (LUN_CHECK|ACTIVE_NEGATION);
|
||||
ptr[EE_TAG_CMD_NUM] = 4;
|
||||
eepromBuf[index][EE_ADAPT_SCSI_ID] = 7;
|
||||
eepromBuf[index][EE_MODE2] = (LUN_CHECK|ACTIVE_NEGATION);
|
||||
eepromBuf[index][EE_TAG_CMD_NUM] = 4;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user