pci-lantiq.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) | pci-lantiq.h (97b921087fa76b1b0b2a20ae70d0e8b6d394c4ea) |
---|---|
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. 5 * | 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. 5 * |
6 * Copyright (C) 2010 John Crispin <blogic@openwrt.org> | 6 * Copyright (C) 2010 John Crispin <john@phrozen.org> |
7 */ 8 9#ifndef _LTQ_PCI_H__ 10#define _LTQ_PCI_H__ 11 12extern __iomem void *ltq_pci_mapped_cfg; 13extern int ltq_pci_read_config_dword(struct pci_bus *bus, 14 unsigned int devfn, int where, int size, u32 *val); 15extern int ltq_pci_write_config_dword(struct pci_bus *bus, 16 unsigned int devfn, int where, int size, u32 val); 17 18#endif | 7 */ 8 9#ifndef _LTQ_PCI_H__ 10#define _LTQ_PCI_H__ 11 12extern __iomem void *ltq_pci_mapped_cfg; 13extern int ltq_pci_read_config_dword(struct pci_bus *bus, 14 unsigned int devfn, int where, int size, u32 *val); 15extern int ltq_pci_write_config_dword(struct pci_bus *bus, 16 unsigned int devfn, int where, int size, u32 val); 17 18#endif |