case 2:
case IPMI_SDR_TYPECOMPACT:
add_sdr_sensor(struct ipmi_softc *sc, u_int8_t *psdr){	int			rc;	sdrtype1		*s1 = (sdrtype1 *) psdr;	sdrtype2		*s2 = (sdrtype2 *) psdr;	char			name[64];	switch (s1->sdrhdr.record_type) {	case 1:		ipmi_sensor_name(name, sizeof(name), s1->typelen, s1->name);		rc=add_child_sensors(sc, psdr, 1, s1->sensor_num,		    s1->sensor_type, s1->event_code, 0, s1->entity_id, name);		break;	case 2:		ipmi_sensor_name(name, sizeof(name), s2->typelen, s2->name);		rc=add_child_sensors(sc, psdr,		    s2->share1 & 0xF,		    s2->sensor_num,		    s2->sensor_type,		    s2->event_code,		    s2->share2 & 0x7F,		    s2->entity_id, name);		break;	default:		return (0);	}	return rc;}