1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2018-2021 Beijing WangXun Technology Co., Ltd. 3 */ 4 5 #ifndef _NGBE_DEVIDS_H_ 6 #define _NGBE_DEVIDS_H_ 7 8 /* 9 * Vendor ID 10 */ 11 #ifndef PCI_VENDOR_ID_WANGXUN 12 #define PCI_VENDOR_ID_WANGXUN 0x8088 13 #endif 14 15 /* 16 * Device IDs 17 */ 18 #define NGBE_DEV_ID_EM_VF 0x0110 19 #define NGBE_SUB_DEV_ID_EM_VF 0x0110 20 #define NGBE_DEV_ID_EM 0x0100 21 #define NGBE_SUB_DEV_ID_EM_MVL_RGMII 0x0200 22 #define NGBE_SUB_DEV_ID_EM_MVL_SFP 0x0403 23 #define NGBE_SUB_DEV_ID_EM_RTL_SGMII 0x0410 24 #define NGBE_SUB_DEV_ID_EM_YT8521S_SFP 0x0460 25 26 #define NGBE_DEV_ID_EM_WX1860AL_W 0x0100 27 #define NGBE_DEV_ID_EM_WX1860AL_W_VF 0x0110 28 #define NGBE_DEV_ID_EM_WX1860A2 0x0101 29 #define NGBE_DEV_ID_EM_WX1860A2_VF 0x0111 30 #define NGBE_DEV_ID_EM_WX1860A2S 0x0102 31 #define NGBE_DEV_ID_EM_WX1860A2S_VF 0x0112 32 #define NGBE_DEV_ID_EM_WX1860A4 0x0103 33 #define NGBE_DEV_ID_EM_WX1860A4_VF 0x0113 34 #define NGBE_DEV_ID_EM_WX1860A4S 0x0104 35 #define NGBE_DEV_ID_EM_WX1860A4S_VF 0x0114 36 #define NGBE_DEV_ID_EM_WX1860AL2 0x0105 37 #define NGBE_DEV_ID_EM_WX1860AL2_VF 0x0115 38 #define NGBE_DEV_ID_EM_WX1860AL2S 0x0106 39 #define NGBE_DEV_ID_EM_WX1860AL2S_VF 0x0116 40 #define NGBE_DEV_ID_EM_WX1860AL4 0x0107 41 #define NGBE_DEV_ID_EM_WX1860AL4_VF 0x0117 42 #define NGBE_DEV_ID_EM_WX1860AL4S 0x0108 43 #define NGBE_DEV_ID_EM_WX1860AL4S_VF 0x0118 44 #define NGBE_DEV_ID_EM_WX1860NCSI 0x0109 45 #define NGBE_DEV_ID_EM_WX1860NCSI_VF 0x0119 46 #define NGBE_DEV_ID_EM_WX1860A1 0x010A 47 #define NGBE_DEV_ID_EM_WX1860A1_VF 0x011A 48 #define NGBE_DEV_ID_EM_WX1860A1L 0x010B 49 #define NGBE_DEV_ID_EM_WX1860A1L_VF 0x011B 50 #define NGBE_SUB_DEV_ID_EM_ZTE5201_RJ45 0x0100 51 #define NGBE_SUB_DEV_ID_EM_SF100F_LP 0x0103 52 #define NGBE_SUB_DEV_ID_EM_M88E1512_RJ45 0x0200 53 #define NGBE_SUB_DEV_ID_EM_SF100HT 0x0102 54 #define NGBE_SUB_DEV_ID_EM_SF200T 0x0201 55 #define NGBE_SUB_DEV_ID_EM_SF200HT 0x0202 56 #define NGBE_SUB_DEV_ID_EM_SF200T_S 0x0210 57 #define NGBE_SUB_DEV_ID_EM_SF200HT_S 0x0220 58 #define NGBE_SUB_DEV_ID_EM_SF200HXT 0x0230 59 #define NGBE_SUB_DEV_ID_EM_SF400T 0x0401 60 #define NGBE_SUB_DEV_ID_EM_SF400HT 0x0402 61 #define NGBE_SUB_DEV_ID_EM_M88E1512_SFP 0x0403 62 #define NGBE_SUB_DEV_ID_EM_SF400T_S 0x0410 63 #define NGBE_SUB_DEV_ID_EM_SF400HT_S 0x0420 64 #define NGBE_SUB_DEV_ID_EM_SF400HXT 0x0430 65 #define NGBE_SUB_DEV_ID_EM_SF400_OCP 0x0440 66 #define NGBE_SUB_DEV_ID_EM_SF400_LY 0x0450 67 #define NGBE_SUB_DEV_ID_EM_SF400_LY_YT 0x0470 68 69 /* Assign excessive id with masks */ 70 #define NGBE_INTERNAL_MASK 0x000F 71 #define NGBE_OEM_MASK 0x00F0 72 #define NGBE_WOL_SUP_MASK 0x4000 73 #define NGBE_NCSI_SUP_MASK 0x8000 74 75 #define NGBE_INTERNAL_SFP 0x0003 76 #define NGBE_OCP_CARD 0x0040 77 #define NGBE_LY_M88E1512_SFP 0x0050 78 #define NGBE_YT8521S_SFP 0x0060 79 #define NGBE_LY_YT8521S_SFP 0x0070 80 #define NGBE_WOL_SUP 0x4000 81 #define NGBE_NCSI_SUP 0x8000 82 83 #endif /* _NGBE_DEVIDS_H_ */ 84