xref: /openbmc/u-boot/arch/x86/include/asm/pci.h (revision 452f50f7)
1fea25720SGraeme Russ 
2fea25720SGraeme Russ 
3fea25720SGraeme Russ /*
4fea25720SGraeme Russ  * (C) Copyright 2002
5fa82f871SAlbert ARIBAUD  * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
6fea25720SGraeme Russ  *
7fea25720SGraeme Russ  * See file CREDITS for list of people who contributed to this
8fea25720SGraeme Russ  * project.
9fea25720SGraeme Russ  *
10fea25720SGraeme Russ  * This program is free software; you can redistribute it and/or
11fea25720SGraeme Russ  * modify it under the terms of the GNU General Public License as
12fea25720SGraeme Russ  * published by the Free Software Foundation; either version 2 of
13fea25720SGraeme Russ  * the License, or (at your option) any later version.
14fea25720SGraeme Russ  *
15fea25720SGraeme Russ  * This program is distributed in the hope that it will be useful,
16fea25720SGraeme Russ  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17fea25720SGraeme Russ  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18fea25720SGraeme Russ  * GNU General Public License for more details.
19fea25720SGraeme Russ  *
20fea25720SGraeme Russ  * You should have received a copy of the GNU General Public License
21fea25720SGraeme Russ  * along with this program; if not, write to the Free Software
22fea25720SGraeme Russ  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23fea25720SGraeme Russ  * MA 02111-1307 USA
24fea25720SGraeme Russ  */
25fea25720SGraeme Russ 
26fea25720SGraeme Russ #ifndef _PCI_I386_H_
27*452f50f7SGabe Black #define _PCI_I386_H_
28fea25720SGraeme Russ 
2983088afbSGraeme Russ #define DEFINE_PCI_DEVICE_TABLE(_table) \
3083088afbSGraeme Russ 	const struct pci_device_id _table[]
3183088afbSGraeme Russ 
321cfcf037SGraeme Russ void pci_setup_type1(struct pci_controller *hose);
33fea25720SGraeme Russ int pci_enable_legacy_video_ports(struct pci_controller* hose);
34fea25720SGraeme Russ int pci_shadow_rom(pci_dev_t dev, unsigned char *dest);
35fea25720SGraeme Russ void pci_remove_rom_window(struct pci_controller* hose, u32 addr);
36fea25720SGraeme Russ u32 pci_get_rom_window(struct pci_controller* hose, int size);
37fea25720SGraeme Russ #endif
38