PCI: Consolidate PCI DMA constants and interfaces in linux/pci-dma-compat.h
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Mar 2016 17:39:16 +0000 (11:39 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Mar 2016 17:39:16 +0000 (11:39 -0600)
commitfe537670eab767157eecc50538bd28e8d9b0ce9f
tree99314e763b2b8400974d5ab233c813495ed58098
parentbc4b024a8b8bd7dceb2697299aad2bda57d065e0
PCI: Consolidate PCI DMA constants and interfaces in linux/pci-dma-compat.h

Christoph added a generic include/linux/pci-dma-compat.h, so now there's
one place with most of the PCI DMA interfaces.  Move more PCI DMA-related
things there:

  - The PCI_DMA_* direction constants from linux/pci.h
  - The pci_set_dma_max_seg_size() and pci_set_dma_seg_boundary()
    CONFIG_PCI implementations from drivers/pci/pci.c
  - The pci_set_dma_max_seg_size() and pci_set_dma_seg_boundary()
    !CONFIG_PCI stubs from linux/pci.h
  - The pci_set_dma_mask() and pci_set_consistent_dma_mask()
    !CONFIG_PCI stubs from linux/pci.h

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
include/linux/pci-dma-compat.h
include/linux/pci.h
This page took 0.051144 seconds and 5 git commands to generate.