- pre2
[davej-history.git] / arch / arm / kernel / bios32.h
blob421ec6a79f88d76df7825efe4fbc76586091fcca
1 #define MAX_NR_BUS 2
3 struct arm_bus_sysdata {
4 /*
5 * bitmask of features we can turn.
6 * See PCI command register for more info.
7 */
8 u16 features;
9 /*
10 * Maximum devsel for this bus.
12 u16 maxdevsel;
14 * The maximum latency that devices on this
15 * bus can withstand.
17 u8 max_lat;
20 struct arm_pci_sysdata {
21 struct arm_bus_sysdata bus[MAX_NR_BUS];
24 struct hw_pci {
25 void (*init)(void);
26 unsigned long io_start;
27 unsigned long mem_start;
28 u8 (*swizzle)(struct pci_dev *dev, u8 *pin);
29 int (*map_irq)(struct pci_dev *dev, u8 slot, u8 pin);
32 void __init dc21285_init(void);
33 void __init plx90x0_init(void);