@@ -43,6 +43,9 @@ int bcma_bus_scan(struct bcma_bus *bus);
4343int bcma_sprom_get (struct bcma_bus * bus );
4444
4545/* driver_chipcommon.c */
46+ void bcma_core_chipcommon_early_init (struct bcma_drv_cc * cc );
47+ void bcma_core_chipcommon_init (struct bcma_drv_cc * cc );
48+ void bcma_chipco_bcm4331_ext_pa_lines_ctl (struct bcma_drv_cc * cc , bool enable );
4649#ifdef CONFIG_BCMA_DRIVER_MIPS
4750void bcma_chipco_serial_init (struct bcma_drv_cc * cc );
4851extern struct platform_device bcma_pflash_dev ;
@@ -53,6 +56,8 @@ int bcma_core_chipcommon_b_init(struct bcma_drv_cc_b *ccb);
5356void bcma_core_chipcommon_b_free (struct bcma_drv_cc_b * ccb );
5457
5558/* driver_chipcommon_pmu.c */
59+ void bcma_pmu_early_init (struct bcma_drv_cc * cc );
60+ void bcma_pmu_init (struct bcma_drv_cc * cc );
5661u32 bcma_pmu_get_alp_clock (struct bcma_drv_cc * cc );
5762u32 bcma_pmu_get_cpu_clock (struct bcma_drv_cc * cc );
5863
@@ -102,10 +107,13 @@ static inline void __exit bcma_host_soc_unregister_driver(void)
102107
103108/* driver_pci.c */
104109u32 bcma_pcie_read (struct bcma_drv_pci * pc , u32 address );
110+ void bcma_core_pci_early_init (struct bcma_drv_pci * pc );
111+ void bcma_core_pci_init (struct bcma_drv_pci * pc );
105112void bcma_core_pci_up (struct bcma_drv_pci * pc );
106113void bcma_core_pci_down (struct bcma_drv_pci * pc );
107114
108115/* driver_pcie2.c */
116+ void bcma_core_pcie2_init (struct bcma_drv_pcie2 * pcie2 );
109117void bcma_core_pcie2_up (struct bcma_drv_pcie2 * pcie2 );
110118
111119extern int bcma_chipco_watchdog_register (struct bcma_drv_cc * cc );
@@ -123,6 +131,39 @@ static inline void bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc)
123131}
124132#endif /* CONFIG_BCMA_DRIVER_PCI_HOSTMODE */
125133
134+ /**************************************************
135+ * driver_mips.c
136+ **************************************************/
137+
138+ #ifdef CONFIG_BCMA_DRIVER_MIPS
139+ unsigned int bcma_core_mips_irq (struct bcma_device * dev );
140+ void bcma_core_mips_early_init (struct bcma_drv_mips * mcore );
141+ void bcma_core_mips_init (struct bcma_drv_mips * mcore );
142+ #else
143+ static inline unsigned int bcma_core_mips_irq (struct bcma_device * dev )
144+ {
145+ return 0 ;
146+ }
147+ static inline void bcma_core_mips_early_init (struct bcma_drv_mips * mcore )
148+ {
149+ }
150+ static inline void bcma_core_mips_init (struct bcma_drv_mips * mcore )
151+ {
152+ }
153+ #endif
154+
155+ /**************************************************
156+ * driver_gmac_cmn.c
157+ **************************************************/
158+
159+ #ifdef CONFIG_BCMA_DRIVER_GMAC_CMN
160+ void bcma_core_gmac_cmn_init (struct bcma_drv_gmac_cmn * gc );
161+ #else
162+ static inline void bcma_core_gmac_cmn_init (struct bcma_drv_gmac_cmn * gc )
163+ {
164+ }
165+ #endif
166+
126167#ifdef CONFIG_BCMA_DRIVER_GPIO
127168/* driver_gpio.c */
128169int bcma_gpio_init (struct bcma_drv_cc * cc );
0 commit comments