Ver código fonte

[phantom] Add new board type

tags/v0.9.4
Michael Brown 16 anos atrás
pai
commit
f493283c74

+ 1
- 0
src/drivers/net/phantom/phantom.c Ver arquivo

@@ -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 Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar