Browse Source

[phantom] Add new board type

tags/v0.9.4
Michael Brown 16 years ago
parent
commit
f493283c74
2 changed files with 2 additions and 0 deletions
  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 View File

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

+ 1
- 0
src/drivers/net/phantom/phantom.h View File

240
 #define UNM_BRDTYPE_P3_10G_SFP_PLUS	0x0026
240
 #define UNM_BRDTYPE_P3_10G_SFP_PLUS	0x0026
241
 #define UNM_BRDTYPE_P3_10000_BASE_T	0x0027
241
 #define UNM_BRDTYPE_P3_10000_BASE_T	0x0027
242
 #define UNM_BRDTYPE_P3_XG_LOM		0x0028
242
 #define UNM_BRDTYPE_P3_XG_LOM		0x0028
243
+#define UNM_BRDTYPE_P3_4_GB_MM		0x0029
243
 #define UNM_BRDTYPE_P3_10G_CX4		0x0031
244
 #define UNM_BRDTYPE_P3_10G_CX4		0x0031
244
 #define UNM_BRDTYPE_P3_10G_XFP		0x0032
245
 #define UNM_BRDTYPE_P3_10G_XFP		0x0032
245
 #define UNM_BDINFO_MAGIC		0x12345678
246
 #define UNM_BDINFO_MAGIC		0x12345678

Loading…
Cancel
Save