blob: c1607073584ce332686eed277556b3b742c51684 [file] [log] [blame]
wdenk2262cfe2002-11-18 00:14:45 +00001
wdenk2262cfe2002-11-18 00:14:45 +00002/*
3 * (C) Copyright 2002
Albert ARIBAUDfa82f872011-08-04 18:45:45 +02004 * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
wdenk2262cfe2002-11-18 00:14:45 +00005 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
wdenk2262cfe2002-11-18 00:14:45 +00007 */
8
9#ifndef _PCI_I386_H_
Gabe Black452f50f2012-10-10 13:12:57 +000010#define _PCI_I386_H_
wdenk2262cfe2002-11-18 00:14:45 +000011
Graeme Russ83088af2011-11-08 02:33:15 +000012#define DEFINE_PCI_DEVICE_TABLE(_table) \
13 const struct pci_device_id _table[]
14
Simon Glassd188b182014-11-12 22:42:11 -070015struct pci_controller;
16
Graeme Russ1cfcf032011-11-08 02:33:22 +000017void pci_setup_type1(struct pci_controller *hose);
Simon Glassd188b182014-11-12 22:42:11 -070018
19/**
20 * board_pci_setup_hose() - Set up the PCI hose
21 *
22 * This is called by the common x86 PCI code to set up the PCI controller
23 * hose. It may be called when no memory/BSS is available so should just
24 * store things in 'hose' and not in BSS variables.
25 */
26void board_pci_setup_hose(struct pci_controller *hose);
wdenk2262cfe2002-11-18 00:14:45 +000027#endif