source: trunk/target/linux/octeon/patches-2.6.30/013-compile_fixes.patch @ 19513

Last change on this file since 19513 was 19513, checked in by florian, 7 years ago

[octeon] move generic config and patches directory to be 2.6.30 specific

File size: 2.5 KB
  • arch/mips/cavium-octeon/executive/cvmx-helper-errata.c

    a b fix_ipd_exit: 
    272272 * 
    273273 * Returns Zero on success, negative on failure 
    274274 */ 
     275#if 0 
    275276int __cvmx_helper_errata_asx_pass1(int interface, int port, int cpu_clock_hz) 
    276277{ 
    277278        /* Set hi water mark as per errata GMX-4 */ 
    int __cvmx_helper_errata_asx_pass1(int i 
    289290                             cpu_clock_hz); 
    290291        return 0; 
    291292} 
     293#endif 
    292294 
    293295/** 
    294296 * This function needs to be called on all Octeon chips with 
  • arch/mips/include/asm/octeon/cvmx-helper-errata.h

    a b extern int __cvmx_helper_errata_fix_ipd_ 
    6060 * 
    6161 * Returns Zero on success, negative on failure 
    6262 */ 
    63 extern int __cvmx_helper_errata_asx_pass1(int interface, int port, 
    64                                           int cpu_clock_hz); 
     63//extern int __cvmx_helper_errata_asx_pass1(int interface, int port, 
     64//                                        int cpu_clock_hz); 
    6565 
    6666/** 
    6767 * This function needs to be called on all Octeon chips with 
  • arch/mips/cavium-octeon/executive/cvmx-helper-util.c

    a b int cvmx_helper_get_ipd_port(int interfa 
    356356 * 
    357357 * Returns Interface number 
    358358 */ 
     359#if 0 
    359360int cvmx_helper_get_interface_num(int ipd_port) 
    360361{ 
    361362        if (ipd_port < 16) 
    int cvmx_helper_get_interface_num(int ip 
    372373 
    373374        return -1; 
    374375} 
     376#endif 
    375377 
    376378/** 
    377379 * Returns the interface index number for an IPD/PKO port 
    int cvmx_helper_get_interface_num(int ip 
    381383 * 
    382384 * Returns Interface index number 
    383385 */ 
     386#if 0 
    384387int cvmx_helper_get_interface_index_num(int ipd_port) 
    385388{ 
    386389        if (ipd_port < 32) 
    int cvmx_helper_get_interface_index_num( 
    395398 
    396399        return -1; 
    397400} 
     401#endif 
    398402 
    399403/** 
    400404 * Initialize the internal QLM JTAG logic to allow programming 
  • arch/mips/include/asm/octeon/cvmx-helper-util.h

    a b static inline void cvmx_helper_free_pack 
    205205 * 
    206206 * Returns Interface number 
    207207 */ 
    208 extern int cvmx_helper_get_interface_num(int ipd_port); 
     208//extern int cvmx_helper_get_interface_num(int ipd_port); 
    209209 
    210210/** 
    211211 * Returns the interface index number for an IPD/PKO port 
    extern int cvmx_helper_get_interface_num 
    215215 * 
    216216 * Returns Interface index number 
    217217 */ 
    218 extern int cvmx_helper_get_interface_index_num(int ipd_port); 
     218//extern int cvmx_helper_get_interface_index_num(int ipd_port); 
    219219 
    220220/** 
    221221 * Initialize the internal QLM JTAG logic to allow programming 
Note: See TracBrowser for help on using the repository browser.