PageRenderTime 17ms CodeModel.GetById 16ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/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
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 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
14#include <mach-dreamcast/mach/sysasic.h>
15
16#define	GAPSPCI_REGS		0x01001400
17#define GAPSPCI_DMA_BASE	0x01840000
18#define GAPSPCI_DMA_SIZE	32768
19#define GAPSPCI_BBA_CONFIG	0x01001600
20#define GAPSPCI_BBA_CONFIG_SIZE	0x2000
21
22#define	GAPSPCI_IRQ		HW_EVENT_EXTERNAL
23
24extern struct pci_ops gapspci_pci_ops;
25
26#endif /* __ASM_SH_DREAMCAST_PCI_H */
27