1 --- a/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c 2009-05-06 16:55:28.000000000 +0200
2 +++ b/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c 2009-05-06 17:04:05.000000000 +0200
5 * Returns Zero on success, negative on failure
8 int __cvmx_helper_errata_asx_pass1(int interface, int port, int cpu_clock_hz)
10 /* Set hi water mark as per errata GMX-4 */
18 * This function needs to be called on all Octeon chips with
19 --- a/arch/mips/include/asm/octeon/cvmx-helper-errata.h 2009-05-06 17:12:16.000000000 +0200
20 +++ a/arch/mips/include/asm/octeon/cvmx-helper-errata.h 2009-05-06 17:12:10.000000000 +0200
23 * Returns Zero on success, negative on failure
25 -extern int __cvmx_helper_errata_asx_pass1(int interface, int port,
27 +//extern int __cvmx_helper_errata_asx_pass1(int interface, int port,
28 +// int cpu_clock_hz);
31 * This function needs to be called on all Octeon chips with
32 --- a/arch/mips/cavium-octeon/executive/cvmx-helper-util.c 2009-05-06 17:30:47.000000000 +0200
33 +++ b/arch/mips/cavium-octeon/executive/cvmx-helper-util.c 2009-05-06 17:31:01.000000000 +0200
36 * Returns Interface number
39 int cvmx_helper_get_interface_num(int ipd_port)
49 * Returns the interface index number for an IPD/PKO port
52 * Returns Interface index number
55 int cvmx_helper_get_interface_index_num(int ipd_port)
65 * Initialize the internal QLM JTAG logic to allow programming
66 --- a/arch/mips/include/asm/octeon/cvmx-helper-util.h 2009-05-06 17:31:46.000000000 +0200
67 +++ b/arch/mips/include/asm/octeon/cvmx-helper-util.h 2009-05-06 17:27:36.000000000 +0200
70 * Returns Interface number
72 -extern int cvmx_helper_get_interface_num(int ipd_port);
73 +//extern int cvmx_helper_get_interface_num(int ipd_port);
76 * Returns the interface index number for an IPD/PKO port
79 * Returns Interface index number
81 -extern int cvmx_helper_get_interface_index_num(int ipd_port);
82 +//extern int cvmx_helper_get_interface_index_num(int ipd_port);
85 * Initialize the internal QLM JTAG logic to allow programming