/* beiscsi_get_host_param - get the iscsi parameter @shost: pointer to scsi_host structure  */
int beiscsi_get_host_param(struct Scsi_Host *shost, enum iscsi_host_param param, char *buf)
/* beiscsi_get_host_param - get the iscsi parameter @shost: pointer to scsi_host structure  */
int beiscsi_get_host_param(struct Scsi_Host *shost, enum iscsi_host_param param, char *buf)
{
	struct beiscsi_hba *phba = (struct beiscsi_hba *)iscsi_host_priv(shost);
	int len = 0;
	switch (param) {
	case ISCSI_HOST_PARAM_HWADDRESS:
		be_cmd_get_mac_addr(phba, phba->mac_address);
		len = sysfs_format_mac(buf, phba->mac_address, ETH_ALEN);
		break;
	default:
		return iscsi_host_get_param(shost, param, buf);
	}
	return len;
}