You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.2 KiB
32 lines
1.2 KiB
9 years ago
|
--- a/arch/mips/include/asm/octeon/cvmx-bootinfo.h
|
||
|
+++ b/arch/mips/include/asm/octeon/cvmx-bootinfo.h
|
||
|
@@ -283,6 +283,8 @@ enum cvmx_board_types_enum {
|
||
9 years ago
|
*/
|
||
|
CVMX_BOARD_TYPE_CUST_PRIVATE_MIN = 20001,
|
||
|
CVMX_BOARD_TYPE_UBNT_E100 = 20002,
|
||
9 years ago
|
+ CVMX_BOARD_TYPE_UBNT_E200 = 20003,
|
||
|
+ CVMX_BOARD_TYPE_UBNT_E220 = 20005,
|
||
9 years ago
|
CVMX_BOARD_TYPE_CUST_DSR1000N = 20006,
|
||
|
CVMX_BOARD_TYPE_KONTRON_S1901 = 21901,
|
||
|
CVMX_BOARD_TYPE_CUST_PRIVATE_MAX = 30000,
|
||
9 years ago
|
@@ -384,6 +386,8 @@ static inline const char *cvmx_board_typ
|
||
9 years ago
|
/* Customer private range */
|
||
|
ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MIN)
|
||
|
ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E100)
|
||
9 years ago
|
+ ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E200)
|
||
|
+ ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E220)
|
||
9 years ago
|
ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_DSR1000N)
|
||
|
ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_KONTRON_S1901)
|
||
|
ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX)
|
||
9 years ago
|
--- a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
|
||
|
+++ b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
|
||
|
@@ -195,6 +195,8 @@ int cvmx_helper_board_get_mii_address(in
|
||
9 years ago
|
return 8;
|
||
|
else
|
||
|
return -1;
|
||
9 years ago
|
+ case CVMX_BOARD_TYPE_UBNT_E200:
|
||
|
+ return -1;
|
||
9 years ago
|
case CVMX_BOARD_TYPE_KONTRON_S1901:
|
||
|
if (ipd_port == CVMX_HELPER_BOARD_MGMT_IPD_PORT)
|
||
|
return 1;
|