pmcs_smhba.c revision c3bc407cfbd238a18e4728ad5f36f39cecdb062f
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* This file contains SM-HBA support for PMC-S driver
*/
void
{
switch (dt) {
case DATA_TYPE_INT32:
}
break;
case DATA_TYPE_STRING:
}
break;
default:
"Unhandled datatype(%d) for (%s). Skipping prop update.",
}
}
void
{
switch (dt) {
case DATA_TYPE_INT32:
}
break;
case DATA_TYPE_STRING:
}
break;
default:
"Unhandled datatype(%d) for(%s). Skipping prop update.",
}
}
void
{
switch (dt) {
case DATA_TYPE_INT32:
}
break;
case DATA_TYPE_STRING:
}
break;
default:
"Unhandled datatype(%d) for (%s). Skipping prop update.",
}
}
/* ARGSUSED */
void
struct scsi_device *sd)
{
char *addr;
int ua_form = 1;
(void) scsi_device_prop_update_string(sd,
}
(void) scsi_device_prop_update_string(sd,
}
}
}
void
{
int i;
char *packed_data;
return;
}
"%s: nvlist_alloc() failed", __func__);
}
}
NV_ENCODE_NATIVE, 0);
nvlist_free(phy_props[i]);
}
}
/*
* Called with PHY lock held on phyp
*/
void
{
char *pname;
char sas_addr[PMCS_MAX_UA_SIZE];
int ua_form = 0;
return;
return;
return;
}
}
}
"%s: Failed to post sysevent", __func__);
return;
}
goto fail;
goto fail;
goto fail;
goto fail;
goto fail;
}
goto fail;
fail:
}