/* Note: this seems to be aimed exclusively at SCSI parallel busses.  */
static int scsi_add_single_device(uint host, uint channel, uint id, uint lun)
/* Note: this seems to be aimed exclusively at SCSI parallel busses.  */
static int scsi_add_single_device(uint host, uint channel, uint id, uint lun)
{
	struct Scsi_Host *shost;
	int error = -ENXIO;
	shost = scsi_host_lookup(host);
	if (!shost)
		return error;
	if (shost->transportt->user_scan)
		error = shost->transportt->user_scan(shost, channel, id, lun);
	else
		error = scsi_scan_host_selected(shost, channel, id, lun, 1);
	scsi_host_put(shost);
	return error;
}