1 /* 2 * SPDX-License-Identifier: BSD-3-Clause 3 * Copyright(c) 2023 Napatech A/S 4 */ 5 6 #ifndef __NTHW_PLATFORM_DRV_H__ 7 #define __NTHW_PLATFORM_DRV_H__ 8 9 #include <stdint.h> 10 11 #define NT_HW_PCI_VENDOR_ID (0x18f4) 12 #define NT_HW_PCI_DEVICE_ID_NT200A02 (0x1C5) 13 14 enum nthw_adapter_id_e { 15 NT_HW_ADAPTER_ID_UNKNOWN = 0, 16 NT_HW_ADAPTER_ID_NT200A02, 17 }; 18 19 typedef enum nthw_adapter_id_e nthw_adapter_id_t; 20 21 nthw_adapter_id_t nthw_platform_get_nthw_adapter_id(const uint16_t n_pci_device_id); 22 23 #endif /* __NTHW_PLATFORM_DRV_H__ */ 24