14 Oct, 2007

3 commits

  • Using readw() and friends => needs to pull io.h and not all targets are
    doing that via indirect chains.

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

    Al Viro
     
  • 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

3 commits

  • This fixes all Sparse warnings in SSB.
    No semantics change.

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

    Michael Buesch
     
  • On a PCI bus use ioreadX() and iowriteX().
    We map the I/O space with pci_iomap(), so we must use the correct
    accessor functions, too.
    readX() and writeX() are not guaranteed to accept the cookie returned
    from pci_iomap() (though, it currently works on most architectures).

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

    Michael Buesch
     
  • 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