main.c (c09c9dd2e9c732658c744a802101d5c34fedde22) main.c (541c9a84cd85203244307d9ebb821102eed82789)
1/*
2 * Sonics Silicon Backplane
3 * Subsystem core
4 *
5 * Copyright 2005, Broadcom Corporation
6 * Copyright 2006, 2007, Michael Buesch <m@bues.ch>
7 *
8 * Licensed under the GNU/GPL. See COPYING for details.

--- 748 unchanged lines hidden (view full) ---

757 }
758
759 return err;
760}
761EXPORT_SYMBOL(ssb_bus_sdiobus_register);
762#endif /* CONFIG_SSB_PCMCIAHOST */
763
764#ifdef CONFIG_SSB_HOST_SOC
1/*
2 * Sonics Silicon Backplane
3 * Subsystem core
4 *
5 * Copyright 2005, Broadcom Corporation
6 * Copyright 2006, 2007, Michael Buesch <m@bues.ch>
7 *
8 * Licensed under the GNU/GPL. See COPYING for details.

--- 748 unchanged lines hidden (view full) ---

757 }
758
759 return err;
760}
761EXPORT_SYMBOL(ssb_bus_sdiobus_register);
762#endif /* CONFIG_SSB_PCMCIAHOST */
763
764#ifdef CONFIG_SSB_HOST_SOC
765int ssb_bus_ssbbus_register(struct ssb_bus *bus, unsigned long baseaddr,
766 ssb_invariants_func_t get_invariants)
765int ssb_bus_host_soc_register(struct ssb_bus *bus, unsigned long baseaddr)
767{
768 int err;
769
770 bus->bustype = SSB_BUSTYPE_SSB;
771 bus->ops = &ssb_host_soc_ops;
772
766{
767 int err;
768
769 bus->bustype = SSB_BUSTYPE_SSB;
770 bus->ops = &ssb_host_soc_ops;
771
773 err = ssb_bus_register(bus, get_invariants, baseaddr);
772 err = ssb_bus_register(bus, ssb_host_soc_get_invariants, baseaddr);
774 if (!err) {
775 ssb_info("Sonics Silicon Backplane found at address 0x%08lX\n",
776 baseaddr);
777 }
778
779 return err;
780}
781#endif

--- 554 unchanged lines hidden ---
773 if (!err) {
774 ssb_info("Sonics Silicon Backplane found at address 0x%08lX\n",
775 baseaddr);
776 }
777
778 return err;
779}
780#endif

--- 554 unchanged lines hidden ---