summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pci/tek390.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/tek390.c b/sys/pci/tek390.c
index 3983ea2..06d8d60 100644
--- a/sys/pci/tek390.c
+++ b/sys/pci/tek390.c
@@ -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;
}
OpenPOWER on IntegriCloud