diff options
Diffstat (limited to 'arch/mips/include/asm/octeon/octeon-feature.h')
-rw-r--r-- | arch/mips/include/asm/octeon/octeon-feature.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/include/asm/octeon/octeon-feature.h b/arch/mips/include/asm/octeon/octeon-feature.h index 8008da2f8779..90e05a8d4b15 100644 --- a/arch/mips/include/asm/octeon/octeon-feature.h +++ b/arch/mips/include/asm/octeon/octeon-feature.h | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/octeon/cvmx-rnm-defs.h> | 35 | #include <asm/octeon/cvmx-rnm-defs.h> |
36 | 36 | ||
37 | enum octeon_feature { | 37 | enum octeon_feature { |
38 | /* CN68XX uses port kinds for packet interface */ | 38 | /* CN68XX uses port kinds for packet interface */ |
39 | OCTEON_FEATURE_PKND, | 39 | OCTEON_FEATURE_PKND, |
40 | /* CN68XX has different fields in word0 - word2 */ | 40 | /* CN68XX has different fields in word0 - word2 */ |
41 | OCTEON_FEATURE_CN68XX_WQE, | 41 | OCTEON_FEATURE_CN68XX_WQE, |
@@ -51,7 +51,7 @@ enum octeon_feature { | |||
51 | OCTEON_FEATURE_DORM_CRYPTO, | 51 | OCTEON_FEATURE_DORM_CRYPTO, |
52 | /* Does this Octeon support PCI express? */ | 52 | /* Does this Octeon support PCI express? */ |
53 | OCTEON_FEATURE_PCIE, | 53 | OCTEON_FEATURE_PCIE, |
54 | /* Does this Octeon support SRIOs */ | 54 | /* Does this Octeon support SRIOs */ |
55 | OCTEON_FEATURE_SRIO, | 55 | OCTEON_FEATURE_SRIO, |
56 | /* Does this Octeon support Interlaken */ | 56 | /* Does this Octeon support Interlaken */ |
57 | OCTEON_FEATURE_ILK, | 57 | OCTEON_FEATURE_ILK, |
@@ -75,7 +75,7 @@ enum octeon_feature { | |||
75 | /* Octeon MDIO block supports clause 45 transactions for 10 | 75 | /* Octeon MDIO block supports clause 45 transactions for 10 |
76 | * Gig support */ | 76 | * Gig support */ |
77 | OCTEON_FEATURE_MDIO_CLAUSE_45, | 77 | OCTEON_FEATURE_MDIO_CLAUSE_45, |
78 | /* | 78 | /* |
79 | * CN52XX and CN56XX used a block named NPEI for PCIe | 79 | * CN52XX and CN56XX used a block named NPEI for PCIe |
80 | * access. Newer chips replaced this with SLI+DPI. | 80 | * access. Newer chips replaced this with SLI+DPI. |
81 | */ | 81 | */ |
@@ -94,10 +94,10 @@ static inline int cvmx_fuse_read(int fuse); | |||
94 | * be kept out of fast path code. | 94 | * be kept out of fast path code. |
95 | * | 95 | * |
96 | * @feature: Feature to check for. This should always be a constant so the | 96 | * @feature: Feature to check for. This should always be a constant so the |
97 | * compiler can remove the switch statement through optimization. | 97 | * compiler can remove the switch statement through optimization. |
98 | * | 98 | * |
99 | * Returns Non zero if the feature exists. Zero if the feature does not | 99 | * Returns Non zero if the feature exists. Zero if the feature does not |
100 | * exist. | 100 | * exist. |
101 | */ | 101 | */ |
102 | static inline int octeon_has_feature(enum octeon_feature feature) | 102 | static inline int octeon_has_feature(enum octeon_feature feature) |
103 | { | 103 | { |