11 Oct, 2007

2 commits


05 May, 2007

3 commits

  • Install the built-in macsonic interrupt handler on both IRQs when using
    via_alt_mapping. Otherwise the rare interrupt that still comes from the
    nubus slot will wedge the nubus.

    $ cat /proc/interrupts
    auto 2: 89176 via2
    auto 3: 744367 sonic
    auto 4: 0 scc
    auto 6: 318363 via1
    auto 7: 0 NMI
    mac 9: 119413 framebuffer vbl
    mac 10: 1971 ADB
    mac 14: 198517 timer
    mac 17: 89104 nubus
    mac 19: 72 Mac ESP SCSI
    mac 56: 629 sonic
    mac 62: 1142593 ide0

    Version 1 of this patch had a bug where a nubus sonic card would register
    two interrupt handlers. Only a built-in sonic needs both.

    Versions 2 and 3 needed some cleanups, as Raylynn Knight and Christoph
    Hellwig pointed out (thanks).

    Signed-off-by: Finn Thain
    Signed-off-by: Linus Torvalds

    Finn Thain
     
  • Fix a potential problem in the timeout handling: don't free the DMA buffers
    before resetting the chip.

    Also a trivial cleanup. Bring macsonic and jazzsonic into sync.

    Signed-off-by: Finn Thain
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Finn Thain
     
  • Sync the nubus defines with the latest code in the mac68k repo. Some of these
    are needed for DP8390 driver update in the next patch.

    Signed-off-by: Finn Thain
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Finn Thain
     

10 Feb, 2007

1 commit


06 Feb, 2007

1 commit

  • Use bitrev8 for bmac, mace, macmace, macsonic, and skfp drivers.

    [akpm@osdl.org: use the API, not the array]
    Cc: Jeff Garzik
    Cc: Paul Mackerras
    Cc: Mirko Lindner
    Cc: Thomas Bogendoerfer
    Signed-off-by: Akinobu Mita
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Akinobu Mita
     

14 Sep, 2006

1 commit


29 Jan, 2006

1 commit


10 Nov, 2005

1 commit


06 Nov, 2005

1 commit

  • Release code in driver modules is a potential cause of oopsen.
    The device may be in use by a userspace process, which will keep
    a reference to the device. If the module is unloaded, the module
    text will be freed. Subsequently, when the last reference is
    dropped, the release code will be called, which no longer exists.

    Use generic platform device allocation/release code in modules.

    Signed-off-by: Russell King
    Acked-by: Greg Kroah-Hartman

    Russell King
     

30 Oct, 2005

1 commit


23 Aug, 2005

1 commit

  • The purpose of this patch:

    - Adopt the DMA API (jazzsonic, macsonic & core driver).

    - Adopt the driver model (macsonic).

    This part was cribbed from jazzsonic. As a consequence, macsonic once
    again works as a module. Driver model is also used by the DMA calls.

    - Support 16 bit cards (macsonic & core driver, also affects jazzsonic)

    This code was adapted from the mac68k linux 2.2 kernel, where it has
    languished for a long time.

    - Support more 32-bit mac cards (macsonic)

    Also from mac68k repo.

    - Zero-copy buffer handling (core driver)

    Provides a nice performance improvement. The new algorithm incidentally
    helped to replace the old Jazz DMA code.

    The patch was tested on a variety of macs (several 32-bit quadra built-in
    NICs, a 16-bit LC PDS NIC and a 16-bit comm-slot NIC), and also on MIPS
    Jazz.

    Signed-off-by: Finn Thain
    Acked-by: Thomas Bogendoerfer
    Signed-off-by: Jeff Garzik

    Finn Thain
     

17 Apr, 2005

1 commit

  • 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!

    Linus Torvalds