b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 |
| 2 | * |
| 3 | * include/asm-sh/dreamcast/pci.h |
| 4 | * |
| 5 | * Copyright (C) 2001, 2002 M. R. Brown |
| 6 | * Copyright (C) 2002, 2003 Paul Mundt |
| 7 | */ |
| 8 | #ifndef __ASM_SH_DREAMCAST_PCI_H |
| 9 | #define __ASM_SH_DREAMCAST_PCI_H |
| 10 | |
| 11 | #include <mach-dreamcast/mach/sysasic.h> |
| 12 | |
| 13 | #define GAPSPCI_REGS 0x01001400 |
| 14 | #define GAPSPCI_DMA_BASE 0x01840000 |
| 15 | #define GAPSPCI_DMA_SIZE 32768 |
| 16 | #define GAPSPCI_BBA_CONFIG 0x01001600 |
| 17 | #define GAPSPCI_BBA_CONFIG_SIZE 0x2000 |
| 18 | |
| 19 | #define GAPSPCI_IRQ HW_EVENT_EXTERNAL |
| 20 | |
| 21 | extern struct pci_ops gapspci_pci_ops; |
| 22 | |
| 23 | #endif /* __ASM_SH_DREAMCAST_PCI_H */ |
| 24 | |