blob: fdbb0e89bfbf987ec380f29ce4eca9d6c4dc67b8 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
John Crispine47d4882011-03-30 09:27:49 +02002/*
John Crispine47d4882011-03-30 09:27:49 +02003 *
John Crispin97b92102016-05-05 09:57:56 +02004 * Copyright (C) 2010 John Crispin <john@phrozen.org>
John Crispine47d4882011-03-30 09:27:49 +02005 */
6
7#ifndef _LTQ_PCI_H__
8#define _LTQ_PCI_H__
9
10extern __iomem void *ltq_pci_mapped_cfg;
11extern int ltq_pci_read_config_dword(struct pci_bus *bus,
12 unsigned int devfn, int where, int size, u32 *val);
13extern int ltq_pci_write_config_dword(struct pci_bus *bus,
14 unsigned int devfn, int where, int size, u32 val);
15
16#endif