瀏覽代碼

[phantom] Add new board type

tags/v0.9.4
Michael Brown 16 年之前
父節點
當前提交
f493283c74
共有 2 個檔案被更改,包括 2 行新增0 行删除
  1. 1
    0
      src/drivers/net/phantom/phantom.c
  2. 1
    0
      src/drivers/net/phantom/phantom.h

+ 1
- 0
src/drivers/net/phantom/phantom.c 查看文件

@@ -1634,6 +1634,7 @@ static int phantom_read_flash ( struct phantom_nic *phantom ) {
1634 1634
 	/* Identify board type and number of ports */
1635 1635
 	switch ( board_info.board_type ) {
1636 1636
 	case UNM_BRDTYPE_P3_4_GB:
1637
+	case UNM_BRDTYPE_P3_4_GB_MM:
1637 1638
 		phantom->num_ports = 4;
1638 1639
 		break;
1639 1640
 	case UNM_BRDTYPE_P3_HMEZ:

+ 1
- 0
src/drivers/net/phantom/phantom.h 查看文件

@@ -240,6 +240,7 @@ struct unm_board_info {
240 240
 #define UNM_BRDTYPE_P3_10G_SFP_PLUS	0x0026
241 241
 #define UNM_BRDTYPE_P3_10000_BASE_T	0x0027
242 242
 #define UNM_BRDTYPE_P3_XG_LOM		0x0028
243
+#define UNM_BRDTYPE_P3_4_GB_MM		0x0029
243 244
 #define UNM_BRDTYPE_P3_10G_CX4		0x0031
244 245
 #define UNM_BRDTYPE_P3_10G_XFP		0x0032
245 246
 #define UNM_BDINFO_MAGIC		0x12345678

Loading…
取消
儲存