]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[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 93fc0790093dce5952050ca40940feecddbcfc84..509a70963a2a958306628cab12534427b9ca3b17 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 e68cc367c735e0f32d89bb74402496a61a41cf91..3c7599890906745148de0e4e6883e5d198f7880b 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