ibm_ocp_pci.h 627 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Author: Armin Kuster <akuster@mvista.com>
  3. *
  4. * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
  5. * the terms of the GNU General Public License version 2. This program
  6. * is licensed "as is" without any warranty of any kind, whether express
  7. * or implied.
  8. */
  9. #ifdef __KERNEL__
  10. #ifndef __ASM_IBM_OCP_PCI_H__
  11. #define __ASM_IBM_OCP_PCI_H__
  12. /* PCI 32 */
  13. struct pmm_regs {
  14. u32 la;
  15. u32 ma;
  16. u32 pcila;
  17. u32 pciha;
  18. };
  19. typedef struct pcil0_regs {
  20. struct pmm_regs pmm[3];
  21. u32 ptm1ms;
  22. u32 ptm1la;
  23. u32 ptm2ms;
  24. u32 ptm2la;
  25. } pci0_t;
  26. #endif /* __ASM_IBM_OCP_PCI_H__ */
  27. #endif /* __KERNEL__ */