wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 1 | |
wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2002 |
Albert ARIBAUD | fa82f87 | 2011-08-04 18:45:45 +0200 | [diff] [blame] | 4 | * Daniel Engström, Omicron Ceti AB, daniel@omicron.se |
wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 5 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef _PCI_I386_H_ |
Gabe Black | 452f50f | 2012-10-10 13:12:57 +0000 | [diff] [blame] | 10 | #define _PCI_I386_H_ |
wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 11 | |
Graeme Russ | 83088af | 2011-11-08 02:33:15 +0000 | [diff] [blame] | 12 | #define DEFINE_PCI_DEVICE_TABLE(_table) \ |
| 13 | const struct pci_device_id _table[] |
| 14 | |
Simon Glass | d188b18 | 2014-11-12 22:42:11 -0700 | [diff] [blame^] | 15 | struct pci_controller; |
| 16 | |
Graeme Russ | 1cfcf03 | 2011-11-08 02:33:22 +0000 | [diff] [blame] | 17 | void pci_setup_type1(struct pci_controller *hose); |
Simon Glass | d188b18 | 2014-11-12 22:42:11 -0700 | [diff] [blame^] | 18 | |
| 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 | */ |
| 26 | void board_pci_setup_hose(struct pci_controller *hose); |
wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 27 | #endif |