1. 21 9月, 2007 1 次提交
  2. 20 7月, 2007 2 次提交
    • M
      sh: intc - improve group support · 680c4598
      Magnus Damm 提交于
      This patch improves intc group support, ie it makes it possible to
      group interrupts together and mask / unmask the entire group. This
      also works with priorities, so setting a priority for an entire group
      is also possible. This patch is needed to properly support certain
      processors such as the 7780.
      
      Fixes for NULL pointers in DECLARE_INTC_DESC() are also included.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      680c4598
    • M
      sh: intc - shared IPR and INTC2 controller · 02ab3f70
      Magnus Damm 提交于
      This is the second version of the shared interrupt controller patch
      for the sh architecture, fixing up handling of intc_reg_fns[].
      
      The three main advantages with this controller over the existing
      ones are:
      
      	- Both priority (ipr) and bitmap (intc2) registers are
      	  supported
      	- External pin sense configuration is supported, ie edge
      	  vs level triggered
      	- CPU/Board specific code maps 1:1 with datasheet for
      	  easy verification
      
      This controller can easily coexist with the current IPR and INTC2
      controllers, but the idea is that CPUs/Boards should be moved over
      to this controller over time so we have a single code base to
      maintain.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      02ab3f70