1 #ifndef _ASM_PCI_BRIDGE_H
2 #define _ASM_PCI_BRIDGE_H
4 unsigned long pmac_find_bridges(unsigned long, unsigned long);
7 * pci_io_base returns the memory address at which you can access
8 * the I/O space for PCI bus number `bus' (or NULL on error).
10 void *pci_io_base(unsigned int bus
);
13 * pci_device_loc returns the bus number and device/function number
14 * for a device on a PCI bus, given its device_node struct.
15 * It returns 0 if OK, -1 on error.
17 int pci_device_loc(struct device_node
*dev
, unsigned char *bus_ptr
,
18 unsigned char *devfn_ptr
);
21 volatile unsigned int *cfg_addr
;
22 volatile unsigned char *cfg_data
;
26 struct bridge_data
*next
;
27 struct device_node
*node
;