1. 26 Mar, 2004 5 commits
    • Matthew Wilcox's avatar
      [PATCH] PCI Hotplug: Rewrite acpiphp detect_used_resource · a975072b
      Matthew Wilcox authored
      There are two unrelated problems in acpiphp that are fixed by this patch.
      First, acpiphp can be a module, so it is unsafe to probe the BARs of each
      device while it initialises -- the device may be active at the time.
      Second, it does not know about PCI-PCI bridge registers and so it reads
      garbage for the last 4 registers of the PCI-PCI bridge card and doesn't
      take into account the ranges that are forwarded by the bridge.
      
      This patch avoids all that by using the struct resources embedded in
      the pci_dev.  Note that we no longer need to recurse as all the devices
      on the other side of a PCI-PCI bridge have their resources entirely
      contained within the PCI-PCI bridge's ranges.
      a975072b
    • Matthew Wilcox's avatar
      [PATCH] PCI Hotplug: Don't up() twice in acpiphp · 4e3b369f
      Matthew Wilcox authored
      On the error path, we currently try to up() a semaphore twice.
      There was also a typo in an error message.
      4e3b369f
    • Dely Sy's avatar
      25a3a555
    • Greg Kroah-Hartman's avatar
      Merge bk://kernel.bkbits.net/jgarzik/pci-dma-mask-2.6 · bae19b18
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/pci-2.6
      bae19b18
    • Greg Kroah-Hartman's avatar
      PCI: add ability to access pci extended config space for PCI Express devices · ec99630f
      Greg Kroah-Hartman authored
      Patch originally written by Intel, cleaned up and made sane by 
      Matthew Wilcox <willy@debian.org> and then tweaked a bit more by me.
      
      From Matt's original email:
       - Add cfg_size to struct pci_dev.
       - Use it in sysfs and procfs.
       - Introduce pci_find_ext_capability() for finding extended capabilities.
       - Change the PCI_X_STATUS defines to match the spec (mea culpa there).
       - Add defines for the extended capabilities.
      ec99630f
  2. 25 Mar, 2004 35 commits