Linux 4.1.18
[linux/fpc-iii.git] / arch / mips / pci / pci-lantiq.h
blob66bf6cd6be3c3220cd0a1b00bfcf92e8e374e30d
1 /*
2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License version 2 as published
4 * by the Free Software Foundation.
6 * Copyright (C) 2010 John Crispin <blogic@openwrt.org>
7 */
9 #ifndef _LTQ_PCI_H__
10 #define _LTQ_PCI_H__
12 extern __iomem void *ltq_pci_mapped_cfg;
13 extern int ltq_pci_read_config_dword(struct pci_bus *bus,
14 unsigned int devfn, int where, int size, u32 *val);
15 extern int ltq_pci_write_config_dword(struct pci_bus *bus,
16 unsigned int devfn, int where, int size, u32 val);
18 #endif