/* @scsi_device: The new scsi device that we need to handle.  */
static int dc395x_slave_alloc(struct scsi_device *scsi_device)
/* @scsi_device: The new scsi device that we need to handle.  */
static int dc395x_slave_alloc(struct scsi_device *scsi_device)
{
	struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)scsi_device->host->hostdata;
	struct DeviceCtlBlk *dcb;
	dcb = device_alloc(acb, scsi_device->id, scsi_device->lun);
	if (!dcb)
		return -ENOMEM;
	adapter_add_device(acb, dcb);
	return 0;
}