1. 04 Dec, 2007 11 commits
  2. 03 Dec, 2007 20 commits
  3. 02 Dec, 2007 7 commits
  4. 01 Dec, 2007 2 commits
    • Mark Lord's avatar
      sata_mv: Fix broken Marvell 7042 support. · 02a121da
      Mark Lord authored
      sata_mv:  Fix broken Marvell 7042 support.
      
      The Marvell 7042 chip is more or less the same as the 6042 internally,
      but sports a PCIe bus.  Despite having identical SATA cores, the 7042
      does differ from its PCI bus counterparts in placment and layout of
      certain bus related registers.
      
      This patch fixes sata_mv to distinguish between the PCI bus registers
      of earlier chips, and the PCIe bus registers of the 7042.
      
      Specifically, move the offsets and bit patterns for the
      PCI/PCIe interrupt cause/mask registers into the struct mv_host_priv,
      as these values differ between the 6xxx and 7xxx series chips.
      
      This fixes the driver to not access reserved PCI addresses,
      and prevents the lockups reported in linux-2.6.24 with 7042 boards.
      
      Also add a new PCI ID for the Highpoint 2300 7042-based board
      that I'm using for testing this stuff here.
      
      Tested with Marvell 6081 + 7042 chips, on x86 & x86_64.
      Signed-off-by: default avatarMark Lord <mlord@pobox.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      02a121da
    • Alan Cox's avatar
      libata: Fix early use of port printk. (Was Re: ata4294967295: failed to start port (errno=-19)) · 0f9fe9b7
      Alan Cox authored
      On Fri, 30 Nov 2007 14:34:11 +0200 (EET)
      Meelis Roos <mroos@linux.ee> wrote:
      
      > > Can you stick a stack trace in at that point ? That would help diagnose
      > > it a great deal quicker.
      >
      > Finally done - found out hard way that BUG() is too bad and
      > dump_st5ack() suits me better.
      
      Thanks. This should fix the real cause, and also allow for port start to
      fail politely with -ENODEV.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      0f9fe9b7