1. 22 12月, 2009 37 次提交
  2. 08 12月, 2009 1 次提交
    • J
      Revert "pata_sis: Implement MWDMA for the UDMA 133 capable chips" · 1b52f2a4
      Jeff Garzik 提交于
      This reverts commit f20941f3.
      
      Sergei Shtylyov notes "You call min() on uncomparables [in
      mwdma_clip_to_pio()], i.e. mwdma_to_pio[] contains XFER_PIO_* and
      adev->pio_mode - XFER_PIO_0 yields you a mode number.  Thus the second
      argument will always "win" as a minimal one"
      
      Bartlomiej Zolnierkiewicz adds "There are more issues with the patch related
      to mwdma_clip_to_pio().  The function can return values between 0 and
      4 which obviously won't work well for the new code below for values
      >2 (i.e. resulting in out-of-bounds array access for the common-case
      of dev->pio_mode == XFER_PIO_4)."
      
      Bartlomiej Zolnierkiewicz also notes the patch is incomplete, failing to
      update MWDMA mode masks.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      1b52f2a4
  3. 07 12月, 2009 2 次提交
    • R
      Fix soc_common PCMCIA configuration · 1bf8e621
      Russell King 提交于
      Jonathan Cameron reports that building PCMCIA as modules doesn't work:
      
      As module get a load of undefined symbols:
      ERROR: "soc_pcmcia_request_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
      ERROR: "soc_pcmcia_free_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
      ERROR: "soc_pcmcia_enable_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
      ERROR: "soc_pcmcia_disable_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
      ERROR: "soc_pcmcia_add_one" [drivers/pcmcia/pxa2xx_base.ko] undefined!
      ERROR: "soc_common_pcmcia_get_timing" [drivers/pcmcia/pxa2xx_base.ko] undefined!
      ERROR: "soc_pcmcia_remove_one" [drivers/pcmcia/pxa2xx_base.ko] undefined!
      make[1]: *** [__modpost] Error 1
      make: *** [modules] Error 2
      
      This is because soc_common tries to be built-in, but it should be a module.
      Allow soc_common to be a module.
      Reported-by: NJonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1bf8e621
    • D
      ARM: 5824/1: SA1100: reuse h3600 PCMCIA driver on h3100 · e7435f86
      Dmitry Artamonow 提交于
      Both iPAQs h3600 and h3100 share the same control
      GPIOs for PCMCIA, so driver can be reused.
      Signed-off-by: NDmitry Artamonow <mad_soft@inbox.ru>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e7435f86