Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
John Crispin | e47d488 | 2011-03-30 09:27:49 +0200 | [diff] [blame] | 2 | /* |
John Crispin | e47d488 | 2011-03-30 09:27:49 +0200 | [diff] [blame] | 3 | * |
John Crispin | 97b9210 | 2016-05-05 09:57:56 +0200 | [diff] [blame] | 4 | * Copyright (C) 2010 John Crispin <john@phrozen.org> |
John Crispin | e47d488 | 2011-03-30 09:27:49 +0200 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _LTQ_PCI_H__ |
| 8 | #define _LTQ_PCI_H__ |
| 9 | |
| 10 | extern __iomem void *ltq_pci_mapped_cfg; |
| 11 | extern int ltq_pci_read_config_dword(struct pci_bus *bus, |
| 12 | unsigned int devfn, int where, int size, u32 *val); |
| 13 | extern int ltq_pci_write_config_dword(struct pci_bus *bus, |
| 14 | unsigned int devfn, int where, int size, u32 val); |
| 15 | |
| 16 | #endif |