1 #ifndef NODNIC_DEVICE_H_ 2 #define NODNIC_DEVICE_H_ 27 #define NODIC_SUPPORTED_REVISION 1 29 #define NODNIC_CMDQ_PHY_ADDR_HIGH_OFFSET 0x10 30 #define NODNIC_CMDQ_PHY_ADDR_LOW_OFFSET 0x14 31 #define NODNIC_NIC_INTERFACE_OFFSET 0x14 32 #define NODNIC_INITIALIZING_OFFSET 0x1fc 33 #define NODNIC_NIC_INTERFACE_SUPPORTED_OFFSET 0x1fc 34 #define NODNIC_LOCATION_OFFSET 0x240 36 #define NODNIC_CMDQ_PHY_ADDR_LOW_MASK 0xFFFFE000 37 #define NODNIC_NIC_INTERFACE_SUPPORTED_MASK 0x4000000 39 #define NODNIC_NIC_INTERFACE_BIT 9 40 #define NODNIC_DISABLE_INTERFACE_BIT 8 41 #define NODNIC_NIC_INTERFACE_SUPPORTED_BIT 26 42 #define NODNIC_INITIALIZING_BIT 31 44 #define NODNIC_NIC_DISABLE_INT_OFFSET 0x100c 47 #define NODNIC_REVISION_OFFSET 0x0 48 #define NODNIC_HARDWARE_FORMAT_OFFSET 0x0 mlx_status nodnic_device_get_cap(IN nodnic_device_priv *device_priv)
mlx_status nodnic_device_init(IN nodnic_device_priv *device_priv)
FILE_LICENCE(GPL2_OR_LATER)
mlx_status nodnic_device_clear_int(IN nodnic_device_priv *device_priv)
mlx_status nodnic_device_teardown(IN nodnic_device_priv *device_priv)
mlx_status nodnic_device_get_fw_version(IN nodnic_device_priv *device_priv, OUT mlx_uint16 *fw_ver_minor, OUT mlx_uint16 *fw_ver_sub_minor, OUT mlx_uint16 *fw_ver_major)