27 Sep, 2008

1 commit


18 Aug, 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
     

14 Jun, 2008

1 commit


18 Apr, 2008

1 commit


16 Apr, 2008

1 commit

  • This fixes DMA on architectures where DMA is nontrivial, like PPC64.
    We must use the host-device's (PCI) struct device for any DMA
    operation instead of the SSB device. For this we add a new
    struct device pointer to the SSB device structure that will always
    point to the right device for DMAing.

    Without this patch b43 and b44 drivers won't work on complex-DMA
    architectures, that for example need dev->archdata for DMA operations.

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

    Michael Buesch
     

14 Apr, 2008

1 commit


09 Apr, 2008

4 commits

  • 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
     
  • This fixes a build error when PCMCIA-host support is built,
    but PCI-host support is disabled.
    Hell, who on earth would use such a weird configuration. :D

    drivers/built-in.o: In function `ssb_attr_sprom_store':
    (.text+0x1c4b79): undefined reference to `ssb_devices_freeze'
    drivers/built-in.o: In function `ssb_attr_sprom_store':
    (.text+0x1c4bb3): undefined reference to `ssb_devices_thaw'
    make[1]: *** [.tmp_vmlinux1] Error 1

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

    Michael Buesch
     
  • Turn the SSB bus suspend mechanism upside down.
    Instead of deciding by an internal reference count when to suspend/resume,
    let the parent bus call us in their suspend/resume routine.

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

    Michael Buesch
     
  • Here come some IRQ and DMA related fixes for the ssb PCMCIA-host code.
    Not much to say, actually. I think the patch explains itself.

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

    Michael Buesch
     

08 Apr, 2008

1 commit


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
     

01 Mar, 2008

1 commit


21 Feb, 2008

2 commits


29 Jan, 2008

1 commit

  • In disagreement with the SPROM specs, revision 3 devices appear to have
    moved the MAC address.

    Change ssb to handle the revision 4 SPROM, which is a different size.
    This change in size is handled by adding a new variable to the ssb_sprom
    struct and using it whenever possible. For those routines that do not
    have access to this structure, a 'u16 size' argument is added.

    The new PCI_ID for the BCM4328 is also added.

    Testing of the Revision 4 SPROM, which is used on the BCM4328, was done
    by Michael Gerdau .

    Signed-off-by: Larry Finger
    Signed-off-by: John W. Linville

    Larry Finger
     

11 Nov, 2007

2 commits


14 Oct, 2007

2 commits

  • Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • ssb bus needs

    linux/drivers/ssb/main.c: In function 'ssb_ssb_read16':
    linux/drivers/ssb/main.c:518: error: implicit declaration of function 'readw'
    linux/drivers/ssb/main.c: In function 'ssb_ssb_read32':
    linux/drivers/ssb/main.c:526: error: implicit declaration of function 'readl'
    linux/drivers/ssb/main.c: In function 'ssb_ssb_write16':
    linux/drivers/ssb/main.c:534: error: implicit declaration of function 'writew'
    linux/drivers/ssb/main.c: In function 'ssb_ssb_write32':
    linux/drivers/ssb/main.c:542: error: implicit declaration of function 'writel'

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     

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