csl_cpgmac_slAux.h 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /**
  2. * @file csl_cpgmac_slAux.h
  3. *
  4. * @brief
  5. * API Auxilary header file for Ethernet MAC submodule CSL.
  6. *
  7. * Contains the different control command and status query functions definations
  8. *
  9. * \par
  10. * ============================================================================
  11. * @n (C) Copyright 2009-2017, Texas Instruments, Inc.
  12. *
  13. * Redistribution and use in source and binary forms, with or without
  14. * modification, are permitted provided that the following conditions
  15. * are met:
  16. *
  17. * Redistributions of source code must retain the above copyright
  18. * notice, this list of conditions and the following disclaimer.
  19. *
  20. * Redistributions in binary form must reproduce the above copyright
  21. * notice, this list of conditions and the following disclaimer in the
  22. * documentation and/or other materials provided with the
  23. * distribution.
  24. *
  25. * Neither the name of Texas Instruments Incorporated nor the names of
  26. * its contributors may be used to endorse or promote products derived
  27. * from this software without specific prior written permission.
  28. *
  29. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  30. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  31. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  32. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  33. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  34. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  35. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  36. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  37. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  38. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  39. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  40. *
  41. */
  42. #ifndef CSL_CPGMAC_SLAUX_H_
  43. #define CSL_CPGMAC_SLAUX_H_
  44. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47. #include <ti/csl/csl.h>
  48. #include <ti/csl/tistdtypes.h>
  49. #if defined(SOC_K2K) || defined(SOC_K2H) || defined(SOC_C6678)
  50. #include <ti/csl/src/ip/emac/V0/csl_cpgmac_slAux.h>
  51. #elif defined(SOC_K2E)
  52. #include <ti/csl/src/ip/emac/V1/csl_cpgmac_slAux.h>
  53. #elif defined(SOC_K2L)
  54. #include <ti/csl/src/ip/emac/V1/csl_cpgmac_slAux.h>
  55. #elif defined(SOC_K2G)
  56. #include <ti/csl/src/ip/emac/V1/csl_cpgmac_slAux.h>
  57. #elif defined(SOC_AM574x) || defined(SOC_AM572x)||defined(SOC_AM571x) || defined(SOC_DRA72x) || defined(SOC_DRA75x) || defined(SOC_DRA78x)
  58. #include <ti/csl/src/ip/emac/V2/csl_cpgmac_slAux.h>
  59. #endif /* SOC_XXXXX */
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63. #endif