1. 28 7月, 2008 1 次提交
  2. 13 7月, 2008 1 次提交
    • E
      [NET] smc91x: remove "irq_flags" from "struct smc91x_platdata" · d280eadc
      Eric Miao 提交于
      IRQ trigger type can be specified in the IRQ resource definition by
      IORESOURCE_IRQ_*, we need only one way to specify this.
      
      This also fixes the following small issue:
      
      To allow dynamic support for multiple platforms, when those relevant
      macros are not defined for one specific platform, the default case
      will be:
      
      	- SMC_DYNAMIC_BUS_CONFIG defined
      	- and SMC_IRQ_FLAGS = IRQF_TRIGGER_RISING
      
      While if "irq_flags" is missing when defining the smc91x_platdata,
      usually as follows:
      
        static struct smc91x_platdata xxxx_smc91x_data = {
      	.flags	= SMC91X_USE_XXBIT,
        };
      
      The lp->cfg.irq_flags will always be overriden by the above structure
      (due to a memcpy), thus rendering lp->cfg.irq_flags to be "0" always.
      (regardless of the default SMC_IRQ_FLAGS or IORESOURCE_IRQ_* flags)
      
      Fixes this by forcing to use IORESOURCE_IRQ_* flags if present, and
      make the only user of smc91x_platdata.irq_flags (renesas/migor) to
      use IORESOURCE_IRQ_*.
      Signed-off-by: NEric Miao <eric.miao@marvell.com>
      Acked-by: NNicolas Pitre <nico@cam.org>
      Acked-by: NJeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d280eadc
  3. 23 5月, 2008 1 次提交
  4. 08 5月, 2008 3 次提交
  5. 30 4月, 2008 1 次提交
    • J
      i2c: Convert most new-style drivers to use module aliasing · 3760f736
      Jean Delvare 提交于
      Based on earlier work by Jon Smirl and Jochen Friedrich.
      
      Update most new-style i2c drivers to use standard module aliasing
      instead of the old driver_name/type driver matching scheme. I've
      left the video drivers apart (except for SoC camera drivers) as
      they're a bit more diffcult to deal with, they'll have their own
      patch later.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Jon Smirl <jonsmirl@gmail.com>
      Cc: Jochen Friedrich <jochen@scram.de>
      3760f736
  6. 19 4月, 2008 10 次提交
  7. 06 3月, 2008 2 次提交
  8. 14 2月, 2008 4 次提交
  9. 06 2月, 2008 1 次提交
  10. 28 1月, 2008 10 次提交
  11. 23 11月, 2007 1 次提交
    • M
      sh: fix R2D-1 CF support · abac3f78
      Magnus Damm 提交于
      This patch fixes CF support for R2D-1 boards. Both R2D-1 and
      R2D-PLUS are equipped with CF IRQs, but the R2D-1 FPGA version
      seem to deliver IRQ spikes with certain CF cards during libata
      probing.  This patch enables polling for R2D-1 as a workaround
      for this broken FGPA logic.
      
      R2D-1 CF support was recently introduced by commit:
      43f4b8c7.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      abac3f78
  12. 07 11月, 2007 3 次提交
  13. 02 11月, 2007 1 次提交
    • P
      sh: Fix up r7780rp highlander CF access size. · b5751e2e
      Paul Mundt 提交于
      R7780RP can't do byte-sized accesses to CF, so needs to do word
      sized access with low-byte masking. This same problem exists
      on older versions of the R2D, with the same workaround having
      been implemented in 43f4b8c7
      there. Follow that change for the highlander boards.
      
      This does not impact R7780MP or SH7785 based Highlander modules.
      
      If you're unfortunate enough to be stuck with an R7780RP, this
      patch is for you!
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b5751e2e
  14. 30 10月, 2007 1 次提交