trio_pcie_intfc_def.h 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright 2012 Tilera Corporation. All Rights Reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation, version 2.
  7. *
  8. * This program is distributed in the hope that it will be useful, but
  9. * WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
  11. * NON INFRINGEMENT. See the GNU General Public License for
  12. * more details.
  13. */
  14. /* Machine-generated file; do not edit. */
  15. #ifndef __ARCH_TRIO_PCIE_INTFC_DEF_H__
  16. #define __ARCH_TRIO_PCIE_INTFC_DEF_H__
  17. #define TRIO_PCIE_INTFC_MAC_INT_STS 0x0000
  18. #define TRIO_PCIE_INTFC_MAC_INT_STS__INT_LEVEL_MASK 0xf000
  19. #define TRIO_PCIE_INTFC_PORT_CONFIG 0x0018
  20. #define TRIO_PCIE_INTFC_PORT_CONFIG__STRAP_STATE_VAL_DISABLED 0x0
  21. #define TRIO_PCIE_INTFC_PORT_CONFIG__STRAP_STATE_VAL_AUTO_CONFIG_ENDPOINT 0x1
  22. #define TRIO_PCIE_INTFC_PORT_CONFIG__STRAP_STATE_VAL_AUTO_CONFIG_RC 0x2
  23. #define TRIO_PCIE_INTFC_PORT_CONFIG__STRAP_STATE_VAL_AUTO_CONFIG_ENDPOINT_G1 0x3
  24. #define TRIO_PCIE_INTFC_PORT_CONFIG__STRAP_STATE_VAL_AUTO_CONFIG_RC_G1 0x4
  25. #define TRIO_PCIE_INTFC_PORT_CONFIG__STRAP_STATE_VAL_AUTO_XLINK 0x5
  26. #define TRIO_PCIE_INTFC_PORT_CONFIG__STRAP_STATE_VAL_STREAM_X1 0x6
  27. #define TRIO_PCIE_INTFC_PORT_CONFIG__STRAP_STATE_VAL_STREAM_X4 0x7
  28. #define TRIO_PCIE_INTFC_PORT_STATUS 0x0020
  29. #define TRIO_PCIE_INTFC_TX_FIFO_CTL 0x0050
  30. #endif /* !defined(__ARCH_TRIO_PCIE_INTFC_DEF_H__) */