1*fea25720SGraeme Russ 2*fea25720SGraeme Russ 3*fea25720SGraeme Russ /* 4*fea25720SGraeme Russ * (C) Copyright 2002 5*fea25720SGraeme Russ * Daniel Engstr�m, Omicron Ceti AB, daniel@omicron.se 6*fea25720SGraeme Russ * 7*fea25720SGraeme Russ * See file CREDITS for list of people who contributed to this 8*fea25720SGraeme Russ * project. 9*fea25720SGraeme Russ * 10*fea25720SGraeme Russ * This program is free software; you can redistribute it and/or 11*fea25720SGraeme Russ * modify it under the terms of the GNU General Public License as 12*fea25720SGraeme Russ * published by the Free Software Foundation; either version 2 of 13*fea25720SGraeme Russ * the License, or (at your option) any later version. 14*fea25720SGraeme Russ * 15*fea25720SGraeme Russ * This program is distributed in the hope that it will be useful, 16*fea25720SGraeme Russ * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*fea25720SGraeme Russ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*fea25720SGraeme Russ * GNU General Public License for more details. 19*fea25720SGraeme Russ * 20*fea25720SGraeme Russ * You should have received a copy of the GNU General Public License 21*fea25720SGraeme Russ * along with this program; if not, write to the Free Software 22*fea25720SGraeme Russ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 23*fea25720SGraeme Russ * MA 02111-1307 USA 24*fea25720SGraeme Russ */ 25*fea25720SGraeme Russ 26*fea25720SGraeme Russ #ifndef _PCI_I386_H_ 27*fea25720SGraeme Russ #define _PCI_I386_H_ 1 28*fea25720SGraeme Russ 29*fea25720SGraeme Russ void pci_setup_type1(struct pci_controller* hose, u32 cfg_addr, u32 cfg_data); 30*fea25720SGraeme Russ int pci_enable_legacy_video_ports(struct pci_controller* hose); 31*fea25720SGraeme Russ int pci_shadow_rom(pci_dev_t dev, unsigned char *dest); 32*fea25720SGraeme Russ void pci_remove_rom_window(struct pci_controller* hose, u32 addr); 33*fea25720SGraeme Russ u32 pci_get_rom_window(struct pci_controller* hose, int size); 34*fea25720SGraeme Russ #endif 35