/* @acb: The adapter device to be updated @dcb: A newly created and intialised device instance to add.  */
static void adapter_add_device(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb)
/* @acb: The adapter device to be updated @dcb: A newly created and intialised device instance to add.  */
static void adapter_add_device(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb)
{
	dcb->acb = acb;
	if (list_empty(&acb->dcb_list))
		acb->dcb_run_robin = dcb;
	list_add_tail(&dcb->list, &acb->dcb_list);
	acb->dcb_map[dcb->target_id] |= (1 << dcb->target_lun);
	acb->children[dcb->target_id][dcb->target_lun] = dcb;
}