1. 30 9月, 2013 1 次提交
  2. 01 2月, 2013 1 次提交
  3. 17 8月, 2012 1 次提交
    • B
      MIPS: MTX-1: Add udelay to mtx1_pci_idsel · 143ec74e
      Bruno Randolf 提交于
      Without this udelay(1) PCI idsel does not work correctly on the
      "singleboard" (T-Mobile Surfbox) for the MiniPCI device. The result is
      that PCI configuration fails and the MiniPCI card is not detected
      correctly. Instead of
      
      PCI host bridge to bus 0000:00
      pci_bus 0000:00: root bus resource [mem 0x40000000-0x4fffffff]
      pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
      pci 0000:00:03.0: BAR 0: assigned [mem 0x40000000-0x4000ffff]
      pci 0000:00:00.0: BAR 0: assigned [mem 0x40010000-0x40010fff]
      pci 0000:00:00.1: BAR 0: assigned [mem 0x40011000-0x40011fff]
      
      We see only the CardBus device:
      
      PCI host bridge to bus 0000:00
      pci_bus 0000:00: root bus resource [mem 0x40000000-0x4fffffff]
      pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
      pci 0000:00:00.0: BAR 0: assigned [mem 0x40000000-0x40000fff]
      pci 0000:00:00.1: BAR 0: assigned [mem 0x40001000-0x40001fff]
      
      Later the device driver shows this error:
      
      ath5k 0000:00:03.0: cannot remap PCI memory region
      ath5k: probe of 0000:00:03.0 failed with error -5
      
      I assume that the logic chip which usually supresses the signal to the CardBus
      card has some settling time and without the delay it would still let the
      Cardbus interfere with the response from the MiniPCI card.
      
      What I cannot explain is why this behaviour shows up now and not in earlier
      kernel versions before. Maybe older PCI code was slower?
      Signed-off-by: NBruno Randolf <br1@einfach.org>
      Cc: linux-mips@linux-mips.org
      Cc: manuel.lauss@googlemail.com
      Cc: florian@openwrt.org
      Patchwork: https://patchwork.linux-mips.org/patch/4087/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      143ec74e
  4. 23 7月, 2012 1 次提交
  5. 08 12月, 2011 1 次提交
  6. 25 10月, 2011 1 次提交
  7. 19 5月, 2011 1 次提交
    • M
      MIPS: Alchemy: Clean up GPIO registers and accessors · b7f720d6
      Manuel Lauss 提交于
      remove au_readl/au_writel, remove the predefined GPIO1/2 KSEG1 register
      addresses and fix the fallout in all boards and drivers.
      
      This also fixes a bug in the mtx-1_wdt driver which was introduced by
      commit 6ea8115b
      ("Convert mtx1 wdt to be a platform device and use generic GPIO API")
      before this patch mtx-1_wdt only modified GPIO215, the patch then
      used the gpio resource information as bit index into the GPIO2 register
      but the conversion to the GPIO API didn't realize that.
      With this patch the drivers original behaviour is restored and GPIO15
      is left alone.
      Signed-off-by: NManuel Lauss <manuel.lauss@googlemail.com>
      Cc: Florian Fainelli <florian@openwrt.org>
      To: Linux-MIPS <linux-mips@linux-mips.org>
      Cc: linux-watchdog@vger.kernel.org
      Cc: Wim Van Sebroeck <wim@iguana.be>
      Patchwork: https://patchwork.linux-mips.org/patch/2381/
      Signed-off-by: Ralf Baechle <ralf@linux-mips.org
      b7f720d6
  8. 15 3月, 2011 1 次提交
  9. 04 8月, 2009 1 次提交
  10. 11 10月, 2008 1 次提交
  11. 16 7月, 2008 1 次提交
  12. 12 5月, 2008 1 次提交
    • S
      [MIPS] MTX-1 code style cleanup · 1ff1a78c
      Sergei Shtylyov 提交于
      Fix many errors and warnings given by checkpatch.pl:
      
      - space after opening and before closing parentheses;
      
      - use of C99 // comments;
      
      - leading spaces instead of tabs;
      
      - brace not on the same line with 'else' in the 'if' statement;
        statement;
      
      - printk() without KERN_* facility level;
      
      - using simple_strtol() where strict_strtol() could be used.
      
      - including <asm/gpio.h> instead of <linux/gpio.h>.
      
      In addition to these changes, also do the following:
      
      - insert spaces between operator and its operands;
      
      - replace tab between the function type and name with space in
        mtx1_pci_idsel() declaration;
      
      - remove space after the type cast's closing parenthesis;
      
      - insert missing space before closing brace in the array/structure
        initializers;
      
      - update MontaVista copyright;
      
      - remove Pete Popov's old email address...
      Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      1ff1a78c
  13. 29 4月, 2008 1 次提交
  14. 29 1月, 2008 1 次提交
  15. 03 11月, 2007 1 次提交
  16. 30 10月, 2007 1 次提交