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.
86 lines
2.5 KiB
86 lines
2.5 KiB
16 years ago
|
--- a/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
|
||
|
+++ b/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
|
||
|
@@ -272,6 +272,7 @@ fix_ipd_exit:
|
||
16 years ago
|
*
|
||
|
* Returns Zero on success, negative on failure
|
||
|
*/
|
||
|
+#if 0
|
||
|
int __cvmx_helper_errata_asx_pass1(int interface, int port, int cpu_clock_hz)
|
||
|
{
|
||
|
/* Set hi water mark as per errata GMX-4 */
|
||
16 years ago
|
@@ -289,6 +290,7 @@ int __cvmx_helper_errata_asx_pass1(int i
|
||
16 years ago
|
cpu_clock_hz);
|
||
|
return 0;
|
||
|
}
|
||
|
+#endif
|
||
|
|
||
|
/**
|
||
|
* This function needs to be called on all Octeon chips with
|
||
16 years ago
|
--- a/arch/mips/include/asm/octeon/cvmx-helper-errata.h
|
||
|
+++ b/arch/mips/include/asm/octeon/cvmx-helper-errata.h
|
||
|
@@ -60,8 +60,8 @@ extern int __cvmx_helper_errata_fix_ipd_
|
||
16 years ago
|
*
|
||
|
* Returns Zero on success, negative on failure
|
||
|
*/
|
||
|
-extern int __cvmx_helper_errata_asx_pass1(int interface, int port,
|
||
|
- int cpu_clock_hz);
|
||
|
+//extern int __cvmx_helper_errata_asx_pass1(int interface, int port,
|
||
|
+// int cpu_clock_hz);
|
||
|
|
||
|
/**
|
||
|
* This function needs to be called on all Octeon chips with
|
||
16 years ago
|
--- a/arch/mips/cavium-octeon/executive/cvmx-helper-util.c
|
||
|
+++ b/arch/mips/cavium-octeon/executive/cvmx-helper-util.c
|
||
|
@@ -356,6 +356,7 @@ int cvmx_helper_get_ipd_port(int interfa
|
||
16 years ago
|
*
|
||
|
* Returns Interface number
|
||
|
*/
|
||
|
+#if 0
|
||
|
int cvmx_helper_get_interface_num(int ipd_port)
|
||
|
{
|
||
|
if (ipd_port < 16)
|
||
16 years ago
|
@@ -372,6 +373,7 @@ int cvmx_helper_get_interface_num(int ip
|
||
16 years ago
|
|
||
|
return -1;
|
||
|
}
|
||
|
+#endif
|
||
|
|
||
|
/**
|
||
|
* Returns the interface index number for an IPD/PKO port
|
||
16 years ago
|
@@ -381,6 +383,7 @@ int cvmx_helper_get_interface_num(int ip
|
||
16 years ago
|
*
|
||
|
* Returns Interface index number
|
||
|
*/
|
||
|
+#if 0
|
||
|
int cvmx_helper_get_interface_index_num(int ipd_port)
|
||
|
{
|
||
|
if (ipd_port < 32)
|
||
16 years ago
|
@@ -395,6 +398,7 @@ int cvmx_helper_get_interface_index_num(
|
||
16 years ago
|
|
||
|
return -1;
|
||
|
}
|
||
|
+#endif
|
||
|
|
||
|
/**
|
||
|
* Initialize the internal QLM JTAG logic to allow programming
|
||
16 years ago
|
--- a/arch/mips/include/asm/octeon/cvmx-helper-util.h
|
||
|
+++ b/arch/mips/include/asm/octeon/cvmx-helper-util.h
|
||
|
@@ -205,7 +205,7 @@ static inline void cvmx_helper_free_pack
|
||
16 years ago
|
*
|
||
|
* Returns Interface number
|
||
|
*/
|
||
|
-extern int cvmx_helper_get_interface_num(int ipd_port);
|
||
|
+//extern int cvmx_helper_get_interface_num(int ipd_port);
|
||
|
|
||
|
/**
|
||
|
* Returns the interface index number for an IPD/PKO port
|
||
16 years ago
|
@@ -215,7 +215,7 @@ extern int cvmx_helper_get_interface_num
|
||
16 years ago
|
*
|
||
|
* Returns Interface index number
|
||
|
*/
|
||
|
-extern int cvmx_helper_get_interface_index_num(int ipd_port);
|
||
|
+//extern int cvmx_helper_get_interface_index_num(int ipd_port);
|
||
|
|
||
|
/**
|
||
|
* Initialize the internal QLM JTAG logic to allow programming
|