···7070unsigned int DMA_MODE_READ;7171unsigned int DMA_MODE_WRITE;72727373+int have_of = 1;7474+7375#ifdef CONFIG_PPC_MULTIPLATFORM7476int _machine = 0;7577···9189#endif92909391struct machdep_calls ppc_md;9292+EXPORT_SYMBOL(ppc_md);94939594/*9695 * These are used in binfmt_elf.c to put aux entries on the stack···457454console_initcall(set_preferred_console);458455#endif /* CONFIG_SERIAL_CORE_CONSOLE */459456#endif /* CONFIG_PPC_MULTIPLATFORM */460460-461461-struct bi_record *find_bootinfo(void)462462-{463463- struct bi_record *rec;464464-465465- rec = (struct bi_record *)_ALIGN((ulong)__bss_start+(1<<20)-1,(1<<20));466466- if ( rec->tag != BI_FIRST ) {467467- /*468468- * This 0x10000 offset is a terrible hack but it will go away when469469- * we have the bootloader handle all the relocation and470470- * prom calls -- Cort471471- */472472- rec = (struct bi_record *)_ALIGN((ulong)__bss_start+0x10000+(1<<20)-1,(1<<20));473473- if ( rec->tag != BI_FIRST )474474- return NULL;475475- }476476- return rec;477477-}478457479458/*480459 * Find out what kind of machine we're on and save any data we need
···7979 struct resource mem_space;8080};81818282+static inline struct pci_controller *pci_bus_to_host(struct pci_bus *bus)8383+{8484+ return bus->sysdata;8585+}8686+8287/* These are used for config access before all the PCI probing8388 has been done. */8489int early_read_config_byte(struct pci_controller *hose, int bus, int dev_fn,