/* Since sending a list of ascbs is a superset of sending a single ascb, this function exists to generalize this. More specifically, when sending a list of those, we want to do only a  */
int asd_post_escb_list(struct asd_ha_struct *asd_ha, struct asd_ascb *ascb, int num)
/* Since sending a list of ascbs is a superset of sending a single ascb, this function exists to generalize this. More specifically, when sending a list of those, we want to do only a  */
int asd_post_escb_list(struct asd_ha_struct *asd_ha, struct asd_ascb *ascb, int num)
{
	unsigned long flags;
	spin_lock_irqsave(&asd_ha->seq.pend_q_lock, flags);
	asd_swap_head_scb(asd_ha, ascb);
	asd_ha->seq.scbpro += num;
	asd_write_reg_dword(asd_ha, SCBPRO, (u32)asd_ha->seq.scbpro);
	spin_unlock_irqrestore(&asd_ha->seq.pend_q_lock, flags);
	return 0;
}