/*

 * Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved.

 *

 * This program is free software; you can redistribute it and/or modify

 * it under the terms of the GNU General Public License version 2 and

 * only version 2 as published by the Free Software Foundation.

 *

 * This program is distributed in the hope that it will be useful,

 * but WITHOUT ANY WARRANTY; without even the implied warranty of

 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

 * GNU General Public License for more details.

 */



#ifndef HOST_CONFIG_H

#define HOST_CONFIG_H



/* for host ko device bind */

#define PCI_VENDOR_ID_HUAWEI 0x19e5

#define DEVDRV_DIVERSITY_PCIE_VENDOR_ID 0xFFFF



#define SF_SENSOR_SCAN_TIME 300 /* 300ms */



#define AST_MASK 0x01 /* DMS_SEN_TYPE_HB assert_event_mask */

#define DST_MASK 0x01 /* DMS_SEN_TYPE_HB deassert_event_mask */



enum soft_sensor_sub_id {

    SF_SUB_ID0 = 0,

    SF_SUB_ID_MAX = 8

};



enum soft_user_id {

    SF_SENSOR_DAVINCI = 0,

    SF_SENSOR_OS = 1,

    SF_SENSOR_DRV = 2,

    SF_SENSOR_USER = 3,

    SF_USER_MAX = 65

};



#endif /* HOST_CONFIG_H */