/* scsi_proc_host_add - Add entry for this host to appropriate /proc dir @shost: host to add  */
void scsi_proc_host_add(struct Scsi_Host *shost)
/* scsi_proc_host_add - Add entry for this host to appropriate /proc dir @shost: host to add  */
void scsi_proc_host_add(struct Scsi_Host *shost)
{
	struct scsi_host_template *sht = shost->hostt;
	struct proc_dir_entry *p;
	char name[10];
	if (!sht->proc_dir)
		return;
	sprintf(name,"%d", shost->host_no);
	p = create_proc_read_entry(name, S_IFREG | S_IRUGO | S_IWUSR,
			sht->proc_dir, proc_scsi_read, shost);
	if (!p) {
		printk(KERN_ERR "%s: Failed to register host %d in"
		       "%s\n", __func__, shost->host_no,
		       sht->proc_name);
		return;
	} 
	p->write_proc = proc_scsi_write_proc;
}