1. 01 Dec, 2006 4 commits
    • Alan Cox's avatar
      PCI: quirks: fix the festering mess that claims to handle IDE quirks · 368c73d4
      Alan Cox authored
      The number of permutations of crap we do is amazing and almost all of it
      has the wrong effect in 2.6.
      
      At the heart of this is the PCI SFF magic which says that compatibility
      mode PCI IDE controllers use ISA IRQ routing and hard coded addresses
      not the BAR values. The old quirks variously clears them, sets them,
      adjusts them and then IDE ignores the result.
      
      In order to drive all this garbage out and to do it portably we need to
      handle the SFF rules directly and properly. Because we know the device
      BAR 0-3 are not used in compatibility mode we load them with the values
      that are implied (and indeed which many controllers actually
      thoughtfully put there in this mode anyway).
      
      This removes special cases in the IDE layer and libata which now knows
      that bar 0/1/2/3 always contain the correct address. It means our
      resource allocation map is accurate from boot, not "mostly accurate"
      after ide is loaded, and it shoots lots of code. There is also lots more
      code and magic constant knowledge to shoot once this is in and settled.
      
      Been in my test tree for a while both with drivers/ide and with libata.
      Wants some -mm shakedown in case I've missed something dumb or there are
      corner cases lurking.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      368c73d4
    • Stephen Hemminger's avatar
      PCI: save/restore PCI-X state · cc692a5f
      Stephen Hemminger authored
      Shouldn't PCI-X state be saved/restored?  No device really needs this
      right now. qla24xx (fc HBA) and mthca (infiniband) don't do suspend, 
      and sky2 resets its tweaks when links are brought up.
      Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      cc692a5f
    • Michael Ellerman's avatar
      PCI: Make some MSI-X #defines generic · e65e5fb5
      Michael Ellerman authored
      Move some MSI-X #defines into pci_regs.h so they can be used
      outside of drivers/pci.
      Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      e65e5fb5
    • Greg Kroah-Hartman's avatar
      PCI: Let PCI_MULTITHREAD_PROBE not be broken · 009af1ff
      Greg Kroah-Hartman authored
      It's not really broken, but people keep running into other problems
      caused by it.  Re-enable it so that the drivers get stress tested.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      009af1ff
  2. 29 Nov, 2006 22 commits
  3. 28 Nov, 2006 14 commits