1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 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. 3 * 5 * 4 * Copyright (C) 2010 John Crispin <john@phro 6 * Copyright (C) 2010 John Crispin <john@phrozen.org> 5 */ 7 */ 6 8 7 #ifndef _LTQ_PCI_H__ 9 #ifndef _LTQ_PCI_H__ 8 #define _LTQ_PCI_H__ 10 #define _LTQ_PCI_H__ 9 11 10 extern __iomem void *ltq_pci_mapped_cfg; 12 extern __iomem void *ltq_pci_mapped_cfg; 11 extern int ltq_pci_read_config_dword(struct pc 13 extern int ltq_pci_read_config_dword(struct pci_bus *bus, 12 unsigned int devfn, int where, int siz 14 unsigned int devfn, int where, int size, u32 *val); 13 extern int ltq_pci_write_config_dword(struct p 15 extern int ltq_pci_write_config_dword(struct pci_bus *bus, 14 unsigned int devfn, int where, int siz 16 unsigned int devfn, int where, int size, u32 val); 15 17 16 #endif 18 #endif 17 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.