First Support on Ginger and OMAP TI
[linux-ginger.git] / arch / mips / include / asm / mach-loongson / pci.h
blobf1663ca81da05fdbd4559885110b9ef1efdf8443
1 /*
2 * Copyright (c) 2008 Zhang Le <r0bertz@gentoo.org>
4 * This program is free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General
6 * Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your
8 * option) any later version.
10 * This program is distributed in the hope that it will be
11 * useful, but WITHOUT ANY WARRANTY; without even the implied
12 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 * PURPOSE. See the GNU General Public License for more
14 * details.
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the Free
18 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
19 * 02139, USA.
22 #ifndef __ASM_MACH_LOONGSON_PCI_H_
23 #define __ASM_MACH_LOONGSON_PCI_H_
25 extern struct pci_ops bonito64_pci_ops;
27 #ifdef CONFIG_LEMOTE_FULOONG2E
29 /* this pci memory space is mapped by pcimap in pci.c */
30 #define LOONGSON_PCI_MEM_START BONITO_PCILO1_BASE
31 #define LOONGSON_PCI_MEM_END (BONITO_PCILO1_BASE + 0x04000000 * 2)
32 /* this is an offset from mips_io_port_base */
33 #define LOONGSON_PCI_IO_START 0x00004000UL
35 #endif
37 #endif /* !__ASM_MACH_LOONGSON_PCI_H_ */