1. 30 Mar, 2004 2 commits
    • Randy Dunlap's avatar
      [PATCH] PCI: add DMA_{64,32}BIT constants · 47287358
      Randy Dunlap authored
      On Tue, 23 Mar 2004 00:23:05 -0500 Jeff Garzik <jgarzik@pobox.com> wrote:
      >>Yeah well...  in the intervening time, somebody on IRC commented
      >>
      >>"so what is so PCI-specific about those constants?"
      >>
      >>They probably ought to be DMA_{32,64}BIT_MASK or somesuch.
      
      Here's an updated patch, applies to 2.6.5-rc2-bk9.
      I left the DMA_xxBIT_MASK defines in linux/pci.h, although
      they aren't necessarily PCI-specific.  Would we prefer to
      have them in linux/dma-mapping.h ?
      47287358
    • Greg Kroah-Hartman's avatar
  2. 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
  3. 25 Mar, 2004 33 commits