mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-20 22:43:14 +00:00
[phantom] Add new board type
This commit is contained in:
parent
03c80c12b8
commit
f493283c74
@ -1634,6 +1634,7 @@ static int phantom_read_flash ( struct phantom_nic *phantom ) {
|
||||
/* Identify board type and number of ports */
|
||||
switch ( board_info.board_type ) {
|
||||
case UNM_BRDTYPE_P3_4_GB:
|
||||
case UNM_BRDTYPE_P3_4_GB_MM:
|
||||
phantom->num_ports = 4;
|
||||
break;
|
||||
case UNM_BRDTYPE_P3_HMEZ:
|
||||
|
@ -240,6 +240,7 @@ struct unm_board_info {
|
||||
#define UNM_BRDTYPE_P3_10G_SFP_PLUS 0x0026
|
||||
#define UNM_BRDTYPE_P3_10000_BASE_T 0x0027
|
||||
#define UNM_BRDTYPE_P3_XG_LOM 0x0028
|
||||
#define UNM_BRDTYPE_P3_4_GB_MM 0x0029
|
||||
#define UNM_BRDTYPE_P3_10G_CX4 0x0031
|
||||
#define UNM_BRDTYPE_P3_10G_XFP 0x0032
|
||||
#define UNM_BDINFO_MAGIC 0x12345678
|
||||
|
Loading…
x
Reference in New Issue
Block a user