26 Feb, 2016

1 commit

  • Drivers that use the SSB sprom functionality typically 'select SSB_SPROM'
    from Kconfig, but CONFIG_SSB_HOST_SOC misses this, which results in
    a build failure unless at least one of the other drivers that selects
    it is enabled:

    drivers/built-in.o: In function `ssb_host_soc_get_invariants':
    (.text+0x459494): undefined reference to `ssb_fill_sprom_with_fallback'

    This adds the same select statement that is used elsewhere.

    Signed-off-by: Arnd Bergmann
    Fixes: 541c9a84cd85 ("ssb: pick SoC invariants code from MIPS BCM47xx arch")
    Signed-off-by: Kalle Valo

    Arnd Bergmann
     

16 Dec, 2015

1 commit

  • There is code in ssb fetching "invariants" that is basically a set of
    board specific data. Every host requires its own implementation of
    reading function. In ssb we have support for PCI, PCMCIA & SDIO.
    For some (historical?) reason code reading "invariants" for SoC was
    placed in arch code and provided by a callback. This is not needed
    nowadays, so lets move that into ssb. This way we keep all "invariants"
    functions in a single module making code cleaner.

    Signed-off-by: Rafał Miłecki
    Signed-off-by: Kalle Valo

    Rafał Miłecki
     

29 Oct, 2015

1 commit


10 Apr, 2015

1 commit

  • The commit 21400f252a97 ("MIPS: BCM47XX: Make ssb init NVRAM instead of
    bcm47xx polling it") introduces a dependency to SSB_SFLASH but did not
    add it to the Kconfig.

    drivers/ssb/driver_mipscore.c:216:36: error: 'struct ssb_mipscore' has no
    member named 'sflash'
    struct ssb_sflash *sflash = &mcore->sflash;
    ^
    drivers/ssb/driver_mipscore.c:249:12: error: dereferencing pointer to
    incomplete type
    if (sflash->present) {
    ^

    Signed-off-by: Adrien Schildknecht
    Cc: m@bues.ch
    Cc: zajec5@gmail.com
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/9598/
    Signed-off-by: Ralf Baechle

    Adrien Schildknecht
     

25 Jan, 2014

1 commit


02 Aug, 2013

1 commit


01 Jul, 2013

1 commit

  • SSB_EMBEDDED needs functions from driver_pcicore which are only
    available if SSD_DRIVER_HOSTMODE is selected so make it
    depend on that symbol.

    Fixes the following linking problem:

    drivers/ssb/embedded.c:202:
    undefined reference to `ssb_pcicore_plat_dev_init'
    drivers/built-in.o: In function `ssb_pcibios_map_irq':
    drivers/ssb/embedded.c:247:
    undefined reference to `ssb_pcicore_pcibios_map_irq'

    Signed-off-by: Markos Chandras
    Acked-by: Steven J. Hill
    Cc: sibyte-users@bitmover.com
    Cc: netdev@vger.kernel.org
    Cc: Michael Buesch
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/5484/
    Acked-by: Florian Fainelli
    Signed-off-by: Ralf Baechle

    Markos Chandras
     

29 Jan, 2013

1 commit


10 Jan, 2013

1 commit


03 Jan, 2013

1 commit

  • Commit ec43b08b5733494ad88aa618ecdf534320dd8207 ("ssb: add GPIO driver")
    added SSB_DRIVER_GPIO, which unconditionally selects GPIOLIB, causing
    a Kconfig warning:

    warning: (ARCH_REQUIRE_GPIOLIB && SSB_DRIVER_GPIO && BCMA_DRIVER_GPIO && MFD_TC6393XB && FB_VIA) selects GPIOLIB which has unmet direct dependencies (ARCH_WANT_OPTIONAL_GPIOLIB || ARCH_REQUIRE_GPIOLIB)

    and build failure for m68k/allmodconfig:

    In file included from drivers/ssb/ssb_private.h:5,
    from drivers/ssb/main.c:12:
    include/linux/ssb/ssb.h:440: error: field ‘gpio’ has incomplete type
    make[4]: *** [drivers/ssb/main.o] Error 1
    make[3]: *** [drivers/ssb/] Error 2

    Turn the select into a dependency to fix this.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: John W. Linville

    Geert Uytterhoeven
     

22 Nov, 2012

1 commit

  • Register a GPIO driver to access the GPIOs provided by the chip.
    The GPIOs of the SoC should always start at 0 and the other GPIOs could
    start at a random position. There is just one SoC in a system and when
    they start at 0 the number is predictable.

    Signed-off-by: Hauke Mehrtens
    Patchwork: http://patchwork.linux-mips.org/patch/4591
    Acked-by: Florian Fainelli

    Hauke Mehrtens
     

21 Jan, 2011

1 commit

  • The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
    is used to configure any non-standard kernel with a much larger scope than
    only small devices.

    This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
    references to the option throughout the kernel. A new CONFIG_EMBEDDED
    option is added that automatically selects CONFIG_EXPERT when enabled and
    can be used in the future to isolate options that should only be
    considered for embedded systems (RISC architectures, SLOB, etc).

    Calling the option "EXPERT" more accurately represents its intention: only
    expert users who understand the impact of the configuration changes they
    are making should enable it.

    Reviewed-by: Ingo Molnar
    Acked-by: David Woodhouse
    Signed-off-by: David Rientjes
    Cc: Greg KH
    Cc: "David S. Miller"
    Cc: Jens Axboe
    Cc: Arnd Bergmann
    Cc: Robin Holt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     

09 Sep, 2009

1 commit

  • Add support for communicating with a Sonics Silicon Backplane through a
    SDIO interface, as found in the Nintendo Wii WLAN daughter card.

    The Nintendo Wii WLAN card includes a custom Broadcom 4318 chip with
    a SDIO host interface.

    Signed-off-by: Albert Herranz
    Signed-off-by: Michael Buesch
    Signed-off-by: John W. Linville

    Albert Herranz
     

28 Mar, 2009

1 commit


11 Nov, 2008

1 commit


27 Jun, 2008

1 commit

  • This is a rewrite of the DMA API for SSB devices.
    This is needed, because the old (non-existing) "API" made too many bad
    assumptions on the API of the host-bus (PCI).
    This introduces an almost complete SSB-DMA-API that maps to the lowlevel
    bus-API based on the bustype.

    Signed-off-by: Michael Buesch
    Signed-off-by: John W. Linville

    Michael Buesch
     

09 Apr, 2008

1 commit

  • This adds support for block based I/O to SSB.
    This is needed in order to efficiently support PIO data
    transfers to the card.
    The block-I/O support is only compiled, if it's selected by the
    weird driver that needs it. So there's no overhead for sane devices.

    Signed-off-by: Michael Buesch
    Signed-off-by: John W. Linville

    Michael Buesch
     

14 Mar, 2008

1 commit


07 Mar, 2008

1 commit

  • This adds the Gigabit Ethernet driver for the SSB
    Gigabit Ethernet core. This driver actually is a frontend to
    the Tigon3 driver. So the real work is done by tg3.
    This device is used in the Linksys WRT350N.

    Signed-off-by: Michael Buesch
    Signed-off-by: John W. Linville

    Michael Buesch
     

28 Feb, 2008

1 commit


21 Feb, 2008

1 commit


17 Oct, 2007

1 commit

  • fix build failure if PCMCIA=m but SSB=y:

    drivers/built-in.o: In function `ssb_pcmcia_switch_coreidx':
    : undefined reference to `pcmcia_access_configuration_register'

    (fix symmetric bug for PCI too.)

    Signed-off-by: Ingo Molnar
    Signed-off-by: Michael Buesch
    Acked-by: Randy Dunlap
    Signed-off-by: John W. Linville

    Ingo Molnar
     

11 Oct, 2007

1 commit

  • SSB is an SoC bus used in a number of embedded devices. The most
    well-known of these devices is probably the Linksys WRT54G, but there
    are others as well. The bus is also used internally on the BCM43xx
    and BCM44xx devices from Broadcom.

    This patch also includes support for SSB ID tables in modules, so
    that SSB drivers can be loaded automatically.

    Signed-off-by: Michael Buesch
    Signed-off-by: John W. Linville
    Signed-off-by: David S. Miller

    Michael Buesch