csl_cpsgmii.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /**
  2. * @file csl_cpsgmii.h
  3. *
  4. * @brief
  5. * Header file for functional layer of CSL SGMII.
  6. *
  7. * It contains the various enumerations, structure definitions and function
  8. * declarations
  9. *
  10. * \par
  11. * ============================================================================
  12. * @n (C) Copyright 2009-2015, Texas Instruments, Inc.
  13. *
  14. * Redistribution and use in source and binary forms, with or without
  15. * modification, are permitted provided that the following conditions
  16. * are met:
  17. *
  18. * Redistributions of source code must retain the above copyright
  19. * notice, this list of conditions and the following disclaimer.
  20. *
  21. * Redistributions in binary form must reproduce the above copyright
  22. * notice, this list of conditions and the following disclaimer in the
  23. * documentation and/or other materials provided with the
  24. * distribution.
  25. *
  26. * Neither the name of Texas Instruments Incorporated nor the names of
  27. * its contributors may be used to endorse or promote products derived
  28. * from this software without specific prior written permission.
  29. *
  30. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  31. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  32. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  33. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  34. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  35. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  36. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  37. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  38. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  39. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  40. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  41. *
  42. */
  43. /** ============================================================================
  44. *
  45. * @defgroup CSL_SGMII_API SGMII
  46. *
  47. * @section Introduction
  48. *
  49. * @subsection xxx Overview
  50. *
  51. * @subsection References
  52. * -# Ethernet Media Access Controller User Guide
  53. * ============================================================================
  54. */
  55. #ifndef CSL_CPSGMII_H
  56. #define CSL_CPSGMII_H
  57. #ifdef __cplusplus
  58. extern "C" {
  59. #endif
  60. #include <ti/csl/soc.h>
  61. #include <ti/csl/csl.h>
  62. #include <ti/csl/tistdtypes.h>
  63. #include <ti/csl/csl_cpsgmii_def.h>
  64. #if defined(SOC_K2K)
  65. #include <ti/csl/src/ip/sgmii/V0/csl_cpsgmii.h>
  66. #elif defined(SOC_K2H)
  67. #include <ti/csl/src/ip/sgmii/V0/csl_cpsgmii.h>
  68. #elif defined(SOC_C6678)
  69. #include <ti/csl/src/ip/sgmii/V0/csl_cpsgmii.h>
  70. #elif defined(SOC_C6657)
  71. #include <ti/csl/src/ip/sgmii/V3/csl_sgmii.h>
  72. #elif defined(SOC_K2E)
  73. #include <ti/csl/src/ip/sgmii/V1/csl_cpsgmii.h>
  74. #elif defined(SOC_K2L)
  75. #include <ti/csl/src/ip/sgmii/V1/csl_cpsgmii.h>
  76. #elif defined(SOC_K2G)
  77. #include <ti/csl/src/ip/sgmii/V1/csl_cpsgmii.h>
  78. #endif /* SOC_XXXXX */
  79. #ifdef __cplusplus
  80. }
  81. #endif
  82. #endif /* CSL_CPSGMII_H */