[phantom] Add new board type
authorMichael Brown <mcb30@etherboot.org>
Thu, 24 Jul 2008 18:40:10 +0000 (19:40 +0100)
committerMichael Brown <mcb30@etherboot.org>
Thu, 24 Jul 2008 18:40:10 +0000 (19:40 +0100)
src/drivers/net/phantom/phantom.c
src/drivers/net/phantom/phantom.h

index 93fc079..509a709 100644 (file)
@@ -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:
index e68cc36..3c75998 100644 (file)
@@ -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