static int __pmac macrisc_write_config(struct pci_bus *bus, unsigned int devfn, 
static int macrisc_write_config(struct pci_bus *bus, unsigned int devfn, 
static int __pmac macrisc_write_config(struct pci_bus *bus, unsigned int devfn,				       int offset, int len, u32 val){	struct pci_controller *hose;	unsigned long addr;	hose = pci_bus_to_host(bus);	if (hose == NULL)		return PCIBIOS_DEVICE_NOT_FOUND;	addr = macrisc_cfg_access(hose, bus->number, devfn, offset);	if (!addr)		return PCIBIOS_DEVICE_NOT_FOUND;	/*	 * Note: the caller has already checked that offset is	 * suitably aligned and that len is 1, 2 or 4.	 */	switch (len) {	case 1:		out_8((u8 *)addr, val);		(void) in_8((u8 *)addr);		break;	case 2:		out_le16((u16 *)addr, val);		(void) in_le16((u16 *)addr);		break;	default:		out_le32((u32 *)addr, val);		(void) in_le32((u32 *)addr);		break;	}	return PCIBIOS_SUCCESSFUL;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/aacaf9bd9646f6f611a08fca976411b6e5ddefe2/pmac_pci.c/clean/arch/ppc64/kernel/pmac_pci.c