On 10/03/2011 12:29 PM, vikas.chaudhary@xxxxxxxxxx wrote: > From: Lalit Chandivade <lalit.chandivade@xxxxxxxxxx> > > QLogic applications store the CHAP information in FLASH. During login, > authentication information is provided using an index into the CHAP region. > > In order to support QLogic applications along with iscsiadm, updated the > LLD to not add duplicate CHAP entries in the CHAP region and preserve the > existing CHAP info in the CHAP region in FLASH. > This allows QLogic applications to pre-write the CHAP entries in the CHAP > region. > > With iscsiadm, when the CHAP authentication information is sent to the LLD, the > LLD searches for the entry in CHAP region in FLASH, if exists then do not add. > If CHAP entry does not exist then add the CHAP entry in the CHAP region. > Does the qlogic app use the bsg flash commands to send down everything then or how does one app work differently and use the same driver for everything else? > +/** > + * qla4xxx_get_chap_index - Get chap index given user name and secret > + * @ha: pointer to adapter structure > + * @username > + * @secret You forgot to write some info on those arguments. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html