Fix up parse word so that it can correctly handle empty arguments and (encode-bootpat...
[openbios.git] / utils / devbios / pcisets.h
blob1045f0a4260704c10f0500c7833d2204e299fc6a
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.
10 * Copyright (C) 1998-2004 Stefan Reinauer, <stepan@openbios.org>
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.
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.
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
27 #include <linux/pci.h>
29 #ifdef CONFIG_PCI
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);
39 extern const struct flashdev devices[];
41 void probe_pcibus(void);
42 #ifdef __alpha__
43 void probe_alphafw(void);
44 #endif
45 #endif