1 --- a/arch/mips/lantiq/devices.c
2 +++ b/arch/mips/lantiq/devices.c
4 pr_err("kernel is compiled without PCI support\n");
8 +static unsigned int *cp1_base = 0;
10 +ltq_get_cp1_base(void)
14 +EXPORT_SYMBOL(ltq_get_cp1_base);
17 +ltq_register_tapi(void)
19 +#define CP1_SIZE (1 << 20)
22 + (void*)CPHYSADDR(dma_alloc_coherent(NULL, CP1_SIZE, &dma, GFP_ATOMIC));
24 --- a/arch/mips/lantiq/devices.h
25 +++ b/arch/mips/lantiq/devices.h
27 extern void ltq_register_wdt(void);
28 extern void ltq_register_asc(int port);
29 extern void ltq_register_pci(struct ltq_pci_data *data);
30 +extern void ltq_register_tapi(void);
33 --- a/arch/mips/lantiq/xway/mach-easy50712.c
34 +++ b/arch/mips/lantiq/xway/mach-easy50712.c
36 ltq_register_nor(&easy50712_flash_data);
37 ltq_register_pci(<q_pci_data);
38 ltq_register_etop(<q_eth_data);
39 + ltq_register_tapi();
42 MIPS_MACHINE(LTQ_MACH_EASY50712,