summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/bios32.h
blob: 421ec6a79f88d76df7825efe4fbc76586091fcca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#define MAX_NR_BUS	2

struct arm_bus_sysdata {
	/*
	 * bitmask of features we can turn.
	 * See PCI command register for more info.
	 */
	u16		features;
	/*
	 * Maximum devsel for this bus.
	 */
	u16		maxdevsel;
	/*
	 * The maximum latency that devices on this
	 * bus can withstand.
	 */
	u8		max_lat;
};

struct arm_pci_sysdata {
	struct arm_bus_sysdata bus[MAX_NR_BUS];
};

struct hw_pci {
	void		(*init)(void);
	unsigned long	io_start;
	unsigned long	mem_start;
	u8		(*swizzle)(struct pci_dev *dev, u8 *pin);
	int		(*map_irq)(struct pci_dev *dev, u8 slot, u8 pin);
};

void __init dc21285_init(void);
void __init plx90x0_init(void);