1. 21 5月, 2007 1 次提交
  2. 09 5月, 2007 2 次提交
  3. 07 5月, 2007 8 次提交
  4. 12 3月, 2007 1 次提交
    • H
      sh: Fix PCI BAR address-space wraparound. · bb686609
      Hideo Saito 提交于
      When a SH7751R system includes a card that has wide range space
      like a graphics card, the pci-pci bridge controller can't set the
      correct address range.
      
      For example, when *lower_limit is 0xfd000000 and bar_size is
      0x4000000, in the following code at arch/sh/drivers/pci/pci-auto.c,
      0x0 is set in bar_value.
      
      pciauto_setup_bars()
      {
      ...
                      bar_value = ((*lower_limit - 1) & ~(bar_size - 1)) + bar_size;
      ...
                      *lower_limit = bar_value + bar_size;
      }
      
      As a result, 0x4000000 is set in *lower_limit, but this value is wrong.
      
      The following patch avoids this problem by checking the range of the
      value and refusing to update the BAR if the calculated value ends up
      being bogus.
      Signed-off-by: NHideo Saito <saito@densan.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      bb686609
  5. 14 2月, 2007 1 次提交
  6. 13 2月, 2007 3 次提交
  7. 12 12月, 2006 1 次提交
  8. 06 12月, 2006 7 次提交
    • J
      sh: sh775x/titan fixes for irq header changes. · ea0f8fea
      Jamie Lenehan 提交于
      The following moves the creation of IPR interupts into setup-7750.c
      and updates a few other things to make it all work after the "Drop
      CPU subtype IRQ headers" commit. It boots and runs fine on my titan
      board.
      
       - adds an ipr_idx to the ipr_data and uses a function in the subtype
         code to calculate the address of the IPR registers
      
       - adds a function to enable individual interrupt mode for externals
         in the subtype code and calls that from the titan board code
         instead of doing it directly.
      
       - I changed the shift in the ipr_data to be the actual # of bits to
         shift, instead of the numnber / 4 - made it easier to match with
         the manual.
      Signed-off-by: NJamie Lenehan <lenehan@twibble.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ea0f8fea
    • M
      sh: dma-api channel capability extensions. · db9b99d4
      Mark Glaisher 提交于
      This extends the SH DMA API for allowing handling of DMA
      channels based off of their respective capabilities.
      
      A couple of functions are added to the existing API,
      the core bits are register_chan_caps() for registering
      channel capabilities, and request_dma_bycap() for fetching
      a channel dynamically based off of a capability set.
      Signed-off-by: NMark Glaisher <mark.glaisher@st.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      db9b99d4
    • P
      sh: Drop name overload in dma-sh. · e803aaf6
      Paul Mundt 提交于
      Pass along the dev_id from request_dma() all the way down,
      rather than inserting an artificial name relating to the TEI
      line that we were doing before.
      
      This makes the line a bit less obvious, but dev_id is the proper
      behaviour for this regardless.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e803aaf6
    • P
      sh: Make dma-isa depend on ISA_DMA_API. · 49f860bb
      Paul Mundt 提交于
      Previously we linked in the ISA DMA wrapper unconditionally.
      As there are very few users of this, it's better to make it
      conditional.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      49f860bb
    • P
      sh: dma-sysfs fixes. · 4dfc119f
      Paul Mundt 提交于
      Handle the case where no registered DMACs exist somewhat more
      gracefully. While we're at it, check for sysdev_create_file()
      failing.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4dfc119f
    • P
      sh: generic push-switch framework. · 9f5e8eee
      Paul Mundt 提交于
      This adds support for a generic push switch framework. Adaptable for
      various switches, including GPIO switches and the push switches commonly
      found on Renesas debug boards.
      
      This allows switch states to be trivially reported through sysfs.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      9f5e8eee
    • P
      sh: Drop CPU subtype IRQ headers. · 9a7ef6d5
      Paul Mundt 提交于
      This drops the various IRQ headers that were floating around
      and primarily providing hardcoded IRQ definitions for the
      various CPU subtypes. This quickly got to be an unmaintainable
      mess, made even more evident by the subtle breakage introduced
      by the SH-2 and SH-2A changes.
      
      Now that subtypes are able to register IRQ maps directly, just
      rip all of the headers out.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      9a7ef6d5
  9. 31 10月, 2006 1 次提交
  10. 19 10月, 2006 1 次提交
  11. 06 10月, 2006 2 次提交
  12. 04 10月, 2006 1 次提交
  13. 03 10月, 2006 2 次提交
  14. 27 9月, 2006 9 次提交
新手
引导
客服 返回
顶部