1. 28 Sep, 2009 2 commits
    • Paul Mundt's avatar
      sh: Set the default I/O port base to P2SEG. · d44ee12a
      Paul Mundt authored
      This bumps up the default I/O base to P2SEG, which allows legacy probing
      to bail out gracefully rather than oopsing. Platforms that have a real
      PIO offset still need to fix this up on their own, although most
      platforms are content with P2SEG already.
      
      The previous change to teach ioport_map() about >= P1SEG offsets in
      combination with this patch allows both the already remapped and the
      legacy address probing to pass through and succeed.
      
      Fixes up an oops with i8042 on the sh7785lcr board.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      d44ee12a
    • Paul Mundt's avatar
      sh: Handle ioport_map() cases for >= P1SEG addresses. · 48ff3e04
      Paul Mundt authored
      This fixes up the case where certain drivers already do their own
      remapping and subsequently attempt to use the PIO calls for I/O. In this
      case there is no additional remapping that needs to be done, and the
      address can be casted in to the cookie directly.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      48ff3e04
  2. 27 Sep, 2009 14 commits
  3. 26 Sep, 2009 21 commits
  4. 25 Sep, 2009 3 commits