Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[phantom] Add new board type
  • Loading branch information
Michael Brown committed Jul 24, 2008
1 parent 03c80c1 commit f493283
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/drivers/net/phantom/phantom.c
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions src/drivers/net/phantom/phantom.h
Expand Up @@ -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
Expand Down

0 comments on commit f493283

Please sign in to comment.