1. 11 12月, 2011 3 次提交
    • F
      m68k/mac: oss irq fixes · da3fb3c9
      Finn Thain 提交于
      The IOP driver calls into the OSS driver to enable its IRQ. This undesirable coupling between drivers only exists because the OSS driver doesn't correctly handle all of its machspec IRQs.
      
      Fix OSS handling of enable/disable for VIA1 IRQs (8 thru 15) which includes MAC_IRQ_ADB.
      
      Back when I implemented pmac_zilog support I redefined IRQ_MAC_SCC incorrectly. Change this to a machspec IRQ so that it works on OSS.
      
      Clean up the unused OSS audio IRQ and OSS_IRQLEV_* cruft that only confuses things.
      
      Fix the OSS description in macints.c and remove an obsolete comment.
      
      Don't enable the VIA1 irq before registering the handler.
      Signed-off-by: NFinn Thain <fthain@telegraphics.com.au>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      da3fb3c9
    • F
      m68k/mac: enable via_alt_mapping on performa 580 · 8d9f014a
      Finn Thain 提交于
      Enable via_alt_mapping on the Performa 588 and tidy up related documentation.
      
      I'm betting that remapped IRQs work just fine on the Performa 580 series since it works on the LC 630 and the logic board part numbers are reputedly the same.
      
      And the consensus seems to be that the Mac TV is essentially a Performa 550, not dissimilar to the Performa 520, so set the via_type accordingly.
      Signed-off-by: NFinn Thain <fthain@telegraphics.com.au>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      8d9f014a
    • F
      m68k/mac: early console · 93edd023
      Finn Thain 提交于
      Revive the old mac_serial_print() routine as mac_early_print(). mac_serial_print() did not function because it did not use the right offsets for its stack arguments. Fix this and make compilation conditional on CONFIG_EARLY_PRINTK instead of the obscure MAC_SERIAL_DEBUG macro.
      
      Give mac_early_print() a new string length parameter to fit the early console API.
      
      Send output to the framebuffer as well as serial ports.
      
      Change the line rate to 38400 baud to match the default for the real (pmac_zilog) serial console.
      Signed-off-by: NFinn Thain <fthain@telegraphics.com.au>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      93edd023
  2. 10 8月, 2010 1 次提交
  3. 18 5月, 2010 1 次提交
  4. 28 2月, 2010 6 次提交
  5. 27 3月, 2009 2 次提交
  6. 13 1月, 2009 1 次提交
  7. 29 12月, 2008 1 次提交
  8. 21 7月, 2008 1 次提交
    • A
      m68k/mac/: possible cleanups · 8dfbdf4a
      Adrian Bunk 提交于
      This patch contains the following possible cleanups:
      - make the following needlessly global code (always) static:
        - baboon.c: struct baboon
        - baboon.c: baboon_irq()
        - config.c: mac_orig_videoaddr
        - config.c: mac_identify()
        - config.c: mac_report_hardware()
        - config.c: mac_debug_console_write()
        - config.c: mac_sccb_console_write()
        - config.c: mac_scca_console_write()
        - config.c: mac_init_scc_port()
        - oss.c: oss_irq()
        - oss.c: oss_nubus_irq()
        - psc.c: psc_debug_dump()
        - psc.c: psc_dma_die_die_die()
        - via.c: rbv_clear
      - remove the unused bootparse.c
      - #if 0 the following unused functions:
        - config.c: mac_debugging_short()
        - config.c: mac_debugging_long()
      - remove the following unused code:
        - config.c: mac_bisize
        - config.c: mac_env
        - config.c: mac_SCC_init_done
        - config.c: mac_SCC_reset_done
        - config.c: mac_init_scca_port()
        - config.c: mac_init_sccb_port()
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8dfbdf4a
  9. 06 5月, 2008 1 次提交
  10. 06 2月, 2008 1 次提交
  11. 20 10月, 2007 1 次提交
  12. 20 7月, 2007 2 次提交
  13. 05 5月, 2007 2 次提交
  14. 09 10月, 2006 1 次提交
    • D
      IRQ: Use the new typedef for interrupt handler function pointers · 40220c1a
      David Howells 提交于
      Use the new typedef for interrupt handler function pointers rather than
      actually spelling out the full thing each time.  This was scripted with the
      following small shell script:
      
      #!/bin/sh
      egrep -nHrl -e 'irqreturn_t[ 	]*[(][*]' $* |
      while read i
      do
          echo $i
          perl -pi -e 's/irqreturn_t\s*[(]\s*[*]\s*([_a-zA-Z0-9]*)\s*[)]\s*[(]\s*int\s*,\s*void\s*[*]\s*[)]/irq_handler_t \1/g' $i || exit $?
      done
      Signed-Off-By: NDavid Howells <dhowells@redhat.com>
      40220c1a
  15. 08 10月, 2006 1 次提交
    • A
      [PATCH] m68k pt_regs fixes · 2850bc27
      Al Viro 提交于
      m68k_handle_int() split in two functions: __m68k_handle_int() takes
      pt_regs * and does set_irq_regs(); m68k_handle_int() doesn't get pt_regs
      *.
      
      Places where we used to call m68k_handle_int() recursively with the same
      pt_regs have simply lost the second argument, the rest is switched to
      __m68k_handle_int().
      
      The rest of patch is just dropping pt_regs * where needed.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      2850bc27
  16. 01 7月, 2006 1 次提交
  17. 26 6月, 2006 2 次提交
  18. 23 6月, 2006 1 次提交
  19. 13 1月, 2006 1 次提交
  20. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4