diff options
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/octeon/cvmx-helper-loop.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/octeon/cvmx-helper-npi.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/octeon/cvmx-helper-rgmii.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/octeon/cvmx-helper-sgmii.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/octeon/cvmx-helper-spi.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/octeon/cvmx-helper-xaui.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/octeon/cvmx-helper.h | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/include/asm/octeon/cvmx-helper-loop.h b/arch/mips/include/asm/octeon/cvmx-helper-loop.h index e646a6ccce75..077f0e9d3b2d 100644 --- a/arch/mips/include/asm/octeon/cvmx-helper-loop.h +++ b/arch/mips/include/asm/octeon/cvmx-helper-loop.h | |||
@@ -44,6 +44,7 @@ | |||
44 | * Returns Number of ports on the interface. Zero to disable. | 44 | * Returns Number of ports on the interface. Zero to disable. |
45 | */ | 45 | */ |
46 | extern int __cvmx_helper_loop_probe(int interface); | 46 | extern int __cvmx_helper_loop_probe(int interface); |
47 | static inline int __cvmx_helper_loop_enumerate(int interface) {return 4; } | ||
47 | 48 | ||
48 | /** | 49 | /** |
49 | * Bringup and enable a LOOP interface. After this call packet | 50 | * Bringup and enable a LOOP interface. After this call packet |
diff --git a/arch/mips/include/asm/octeon/cvmx-helper-npi.h b/arch/mips/include/asm/octeon/cvmx-helper-npi.h index 908e7b08c214..8df4c7fafdba 100644 --- a/arch/mips/include/asm/octeon/cvmx-helper-npi.h +++ b/arch/mips/include/asm/octeon/cvmx-helper-npi.h | |||
@@ -45,6 +45,7 @@ | |||
45 | * Returns Number of ports on the interface. Zero to disable. | 45 | * Returns Number of ports on the interface. Zero to disable. |
46 | */ | 46 | */ |
47 | extern int __cvmx_helper_npi_probe(int interface); | 47 | extern int __cvmx_helper_npi_probe(int interface); |
48 | #define __cvmx_helper_npi_enumerate __cvmx_helper_npi_probe | ||
48 | 49 | ||
49 | /** | 50 | /** |
50 | * Bringup and enable a NPI interface. After this call packet | 51 | * Bringup and enable a NPI interface. After this call packet |
diff --git a/arch/mips/include/asm/octeon/cvmx-helper-rgmii.h b/arch/mips/include/asm/octeon/cvmx-helper-rgmii.h index ea2652604a57..78295ba0050f 100644 --- a/arch/mips/include/asm/octeon/cvmx-helper-rgmii.h +++ b/arch/mips/include/asm/octeon/cvmx-helper-rgmii.h | |||
@@ -43,6 +43,7 @@ | |||
43 | * Returns Number of RGMII/GMII/MII ports (0-4). | 43 | * Returns Number of RGMII/GMII/MII ports (0-4). |
44 | */ | 44 | */ |
45 | extern int __cvmx_helper_rgmii_probe(int interface); | 45 | extern int __cvmx_helper_rgmii_probe(int interface); |
46 | #define __cvmx_helper_rgmii_enumerate __cvmx_helper_rgmii_probe | ||
46 | 47 | ||
47 | /** | 48 | /** |
48 | * Put an RGMII interface in loopback mode. Internal packets sent | 49 | * Put an RGMII interface in loopback mode. Internal packets sent |
diff --git a/arch/mips/include/asm/octeon/cvmx-helper-sgmii.h b/arch/mips/include/asm/octeon/cvmx-helper-sgmii.h index 19b48d60857f..9a9b6c103ede 100644 --- a/arch/mips/include/asm/octeon/cvmx-helper-sgmii.h +++ b/arch/mips/include/asm/octeon/cvmx-helper-sgmii.h | |||
@@ -45,6 +45,7 @@ | |||
45 | * Returns Number of ports on the interface. Zero to disable. | 45 | * Returns Number of ports on the interface. Zero to disable. |
46 | */ | 46 | */ |
47 | extern int __cvmx_helper_sgmii_probe(int interface); | 47 | extern int __cvmx_helper_sgmii_probe(int interface); |
48 | extern int __cvmx_helper_sgmii_enumerate(int interface); | ||
48 | 49 | ||
49 | /** | 50 | /** |
50 | * Bringup and enable a SGMII interface. After this call packet | 51 | * Bringup and enable a SGMII interface. After this call packet |
diff --git a/arch/mips/include/asm/octeon/cvmx-helper-spi.h b/arch/mips/include/asm/octeon/cvmx-helper-spi.h index 69bac036d10e..9f1c6b968f91 100644 --- a/arch/mips/include/asm/octeon/cvmx-helper-spi.h +++ b/arch/mips/include/asm/octeon/cvmx-helper-spi.h | |||
@@ -42,6 +42,7 @@ | |||
42 | * Returns Number of ports on the interface. Zero to disable. | 42 | * Returns Number of ports on the interface. Zero to disable. |
43 | */ | 43 | */ |
44 | extern int __cvmx_helper_spi_probe(int interface); | 44 | extern int __cvmx_helper_spi_probe(int interface); |
45 | extern int __cvmx_helper_spi_enumerate(int interface); | ||
45 | 46 | ||
46 | /** | 47 | /** |
47 | * Bringup and enable a SPI interface. After this call packet I/O | 48 | * Bringup and enable a SPI interface. After this call packet I/O |
diff --git a/arch/mips/include/asm/octeon/cvmx-helper-xaui.h b/arch/mips/include/asm/octeon/cvmx-helper-xaui.h index 4b4db2f93cd4..f6fbc4f45b56 100644 --- a/arch/mips/include/asm/octeon/cvmx-helper-xaui.h +++ b/arch/mips/include/asm/octeon/cvmx-helper-xaui.h | |||
@@ -45,6 +45,7 @@ | |||
45 | * Returns Number of ports on the interface. Zero to disable. | 45 | * Returns Number of ports on the interface. Zero to disable. |
46 | */ | 46 | */ |
47 | extern int __cvmx_helper_xaui_probe(int interface); | 47 | extern int __cvmx_helper_xaui_probe(int interface); |
48 | extern int __cvmx_helper_xaui_enumerate(int interface); | ||
48 | 49 | ||
49 | /** | 50 | /** |
50 | * Bringup and enable a XAUI interface. After this call packet | 51 | * Bringup and enable a XAUI interface. After this call packet |
diff --git a/arch/mips/include/asm/octeon/cvmx-helper.h b/arch/mips/include/asm/octeon/cvmx-helper.h index 51916f3cc40c..3169cd79f2ac 100644 --- a/arch/mips/include/asm/octeon/cvmx-helper.h +++ b/arch/mips/include/asm/octeon/cvmx-helper.h | |||
@@ -207,6 +207,7 @@ extern int cvmx_helper_link_set(int ipd_port, | |||
207 | * Returns Zero on success, negative on failure | 207 | * Returns Zero on success, negative on failure |
208 | */ | 208 | */ |
209 | extern int cvmx_helper_interface_probe(int interface); | 209 | extern int cvmx_helper_interface_probe(int interface); |
210 | extern int cvmx_helper_interface_enumerate(int interface); | ||
210 | 211 | ||
211 | /** | 212 | /** |
212 | * Configure a port for internal and/or external loopback. Internal loopback | 213 | * Configure a port for internal and/or external loopback. Internal loopback |