ソースを参照

[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

読み込み中…
キャンセル
保存