/* Scsi_Host_template SCSI host template Scsi_Host template entry, returns BFAD PCI info.  */
static const char* bfad_im_info(struct Scsi_Host *shost)
/* Scsi_Host_template SCSI host template Scsi_Host template entry, returns BFAD PCI info.  */
static const char* bfad_im_info(struct Scsi_Host *shost)
{
	static char     bfa_buf[256];
	struct bfad_im_port_s *im_port =
			(struct bfad_im_port_s *) shost->hostdata[0];
	struct bfa_ioc_attr_s  ioc_attr;
	struct bfad_s         *bfad = im_port->bfad;
	memset(&ioc_attr, 0, sizeof(ioc_attr));
	bfa_get_attr(&bfad->bfa, &ioc_attr);
	memset(bfa_buf, 0, sizeof(bfa_buf));
	snprintf(bfa_buf, sizeof(bfa_buf),
		 "Brocade FC/FCOE Adapter, " "model: %s hwpath: %s driver: %s",
		 ioc_attr.adapter_attr.model, bfad->pci_name,
		 BFAD_DRIVER_VERSION);
	return bfa_buf;
}