1 /* 2 * OpenBIOS - free your system! 3 * ( firmware/flash device driver for Linux ) 4 * 5 * pcisets.h - structures for device bindings 6 * 7 * This program is part of a free implementation of the IEEE 1275-1994 8 * Standard for Boot (Initialization Configuration) Firmware. 9 * 10 * Copyright (C) 1998-2004 Stefan Reinauer 11 * 12 * This program is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by 14 * the Free Software Foundation; version 2 of the License. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU General Public License for more details. 20 * 21 * You should have received a copy of the GNU General Public License 22 * along with this program; if not, write to the Free Software 23 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA 24 * 25 */ 26 27 #include <linux/pci.h> 28 29 #ifdef CONFIG_PCI 30 31 struct flashdev { 32 unsigned int *pcidevs; 33 void (*activate)(void); 34 void (*deactivate) (void); 35 int (*memarea)(unsigned long *address, unsigned long *size, 36 struct pci_dev *dev); 37 }; 38 39 extern const struct flashdev devices[]; 40 41 void probe_pcibus(void); 42 #ifdef __alpha__ 43 void probe_alphafw(void); 44 #endif 45 #endif 46