/* __vxge_hw_device_is_privilaged This routine checks if the device function is privilaged or not  */
enum vxge_hw_status __vxge_hw_device_is_privilaged(u32 host_type, u32 func_id)
/* __vxge_hw_device_is_privilaged This routine checks if the device function is privilaged or not  */
enum vxge_hw_status __vxge_hw_device_is_privilaged(u32 host_type, u32 func_id)
{
	if (__vxge_hw_device_access_rights_get(host_type,
		func_id) &
		VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM)
		return VXGE_HW_OK;
	else
		return VXGE_HW_ERR_PRIVILAGED_OPEARATION;
}