rem: strncpy( info->sim_vid, "OpenBeOS", SCSI_SIM_ID );  if( pnp->get_attr_string( bus->node, SCSI_DESCRIPTION_CONTROLLER_NAME, &controller_name, true ) == B_OK ) { strncpy( info->hba_vid, controller_name, SCSI_HBA_ID ); free( controller_name );
add: strncpy(info->sim_vid, "Haiku", SCSI_SIM_ID);  if (pnp->get_attr_string(bus->node, SCSI_DESCRIPTION_CONTROLLER_NAME, &controller_name, true) == B_OK) { strlcpy(info->hba_vid, controller_name, SCSI_HBA_ID); free(controller_name);
context: sim_path_inquiry(ide_bus_info *bus, scsi_path_inquiry *info){	char *controller_name;		SHOW_FLOW0( 4, "" );		if( bus->disconnected )		return SCSI_NO_HBA;		info->hba_inquiry = SCSI_PI_TAG_ABLE | SCSI_PI_WIDE_16;		info->hba_misc = 0;	memset( info->vuhba_flags, 0, sizeof( info->vuhba_flags ));	// we don't need any of the private data	info->sim_priv = 0;			// there is no initiator for IDE, but SCSI needs it for scanning	info->initiator_id = 2;		// there's no controller limit, so set it higher then the maximum	// number of queued requests, which is 32 per device * 2 devices	info->hba_queue_size = 65;		strncpy( info->sim_vid, "OpenBeOS", SCSI_SIM_ID );		if( pnp->get_attr_string( bus->node, 		SCSI_DESCRIPTION_CONTROLLER_NAME, &controller_name, true ) == B_OK )	{		strncpy( info->hba_vid, controller_name, SCSI_HBA_ID );		free( controller_name );	} else		strncpy( info->hba_vid, "", SCSI_HBA_ID );	strncpy( info->controller_family, "IDE", SCSI_FAM_ID );	strncpy( info->controller_type, "IDE", SCSI_TYPE_ID );		SHOW_FLOW0( 4, "done" );		return SCSI_REQ_CMP;}