1. 27 Apr, 2008 4 commits
    • David S. Miller's avatar
      sparc64: Kill ISA_FLOPPY_WORKS code. · 0eb78f0b
      David S. Miller authored
      This never was enabled, I could never get it working, and if anyone
      wants to try and get it's very easy to reference this code in the
      history.
      
      It's the only thing referencing the silly ISA device layer in the
      sparc64 tree.  OF device layer infrastructure is what should be used
      for these things.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0eb78f0b
    • David S. Miller's avatar
      sparc64: Kill CONFIG_SPARC32_COMPAT · 09337f50
      David S. Miller authored
      It's completely superfluous, CONFIG_COMPAT is sufficient.
      
      What this used to be is an umbrella for enabling code shared
      by all 32-bit compat binary support types.  But with the
      removal of SunOS and Solaris support, the only one left is
      Linux 32-bit ELF.
      
      Update defconfig.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      09337f50
    • David S. Miller's avatar
      sparc64: Cleanups and corrections for arch/sparc64/Kconfig · 05d515ef
      David S. Miller authored
      Refer to chip as "SPARC" throughout.
      
      Say 32-bit SPARC and 64-bit SPARC rather than mentioning specific
      chips such like UltraSPARC, as appropriate.
      
      Remove non-sense help text referring to things that will never appear
      on a SPARC system, such as EISA busses etc.
      
      Use "help" instead of "--help--"
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      05d515ef
    • David S. Miller's avatar
      sparc64: Fix wedged irq regression. · 227c3311
      David S. Miller authored
      Kernel bugzilla 10273
      
      As reported by Jos van der Ende, ever since commit
      5a606b72 ("[SPARC64]: Do not ACK an
      INO if it is disabled or inprogress.") sun4u interrupts
      can get stuck.
      
      What this changset did was add the following conditional to
      the various IRQ chip ->enable() handlers on sparc64:
      
      	if (unlikely(desc->status & (IRQ_DISABLED|IRQ_INPROGRESS)))
      		return;
      
      which is correct, however it means that special care is needed
      in the ->enable() method.
      
      Specifically we must put the interrupt into IDLE state during
      an enable, or else it might never be sent out again.
      
      Setting the INO interrupt state to IDLE resets the state machine,
      the interrupt input to the INO is retested by the hardware, and
      if an interrupt is being signalled by the device, the INO
      moves back into TRANSMIT state, and an interrupt vector is sent
      to the cpu.
      
      The two sun4v IRQ chip handlers were already doing this properly,
      only sun4u got it wrong.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      227c3311
  2. 26 Apr, 2008 36 commits