/arch/sh/include/mach-dreamcast/mach/pci.h

https://bitbucket.org/ndreys/linux-sunxi · C++ Header · 27 lines · 11 code · 6 blank · 10 comment · 0 complexity · d7a71a9aa28c29ca9c96248c81c7889b MD5 · raw file

  1. /*
  2. * include/asm-sh/dreamcast/pci.h
  3. *
  4. * Copyright (C) 2001, 2002 M. R. Brown
  5. * Copyright (C) 2002, 2003 Paul Mundt
  6. *
  7. * This file is subject to the terms and conditions of the GNU General Public
  8. * License. See the file "COPYING" in the main directory of this archive
  9. * for more details.
  10. */
  11. #ifndef __ASM_SH_DREAMCAST_PCI_H
  12. #define __ASM_SH_DREAMCAST_PCI_H
  13. #include <mach-dreamcast/mach/sysasic.h>
  14. #define GAPSPCI_REGS 0x01001400
  15. #define GAPSPCI_DMA_BASE 0x01840000
  16. #define GAPSPCI_DMA_SIZE 32768
  17. #define GAPSPCI_BBA_CONFIG 0x01001600
  18. #define GAPSPCI_BBA_CONFIG_SIZE 0x2000
  19. #define GAPSPCI_IRQ HW_EVENT_EXTERNAL
  20. extern struct pci_ops gapspci_pci_ops;
  21. #endif /* __ASM_SH_DREAMCAST_PCI_H */