aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-08-06 14:44:36 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-06 14:44:36 -0400
commit1cfd2bda8c486ae0e7a8005354758ebb68172bca (patch)
tree76ce15f377d8d6eb3ae4aa8b8b0b415457e38d36 /drivers/pci/pci.c
parentb57bdda58cda0aaf6def042d101dd85977a286ed (diff)
parent763e9db9994e27a7d2cb3701c8a097a867d0e0b4 (diff)
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6
* 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (30 commits) PCI: update for owner removal from struct device_attribute PCI: Fix warnings when CONFIG_DMI unset PCI: Do not run NVidia quirks related to MSI with MSI disabled x86/PCI: use for_each_pci_dev() PCI: use for_each_pci_dev() PCI: MSI: Restore read_msi_msg_desc(); add get_cached_msi_msg_desc() PCI: export SMBIOS provided firmware instance and label to sysfs PCI: Allow read/write access to sysfs I/O port resources x86/PCI: use host bridge _CRS info on ASRock ALiveSATA2-GLAN PCI: remove unused HAVE_ARCH_PCI_SET_DMA_MAX_SEGMENT_{SIZE|BOUNDARY} PCI: disable mmio during bar sizing PCI: MSI: Remove unsafe and unnecessary hardware access PCI: Default PCIe ASPM control to on and require !EMBEDDED to disable PCI: kernel oops on access to pci proc file while hot-removal PCI: pci-sysfs: remove casts from void* ACPI: Disable ASPM if the platform won't provide _OSC control for PCIe PCI hotplug: make sure child bridges are enabled at hotplug time PCI hotplug: shpchp: Removed check for hotplug of display devices PCI hotplug: pciehp: Fixed return value sign for pciehp_unconfigure_device PCI: Don't enable aspm before drivers have had a chance to veto it ...
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 130ed1daf0f8..7fa3cbd742c5 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -2312,21 +2312,17 @@ void pci_msi_off(struct pci_dev *dev)
2312} 2312}
2313EXPORT_SYMBOL_GPL(pci_msi_off); 2313EXPORT_SYMBOL_GPL(pci_msi_off);
2314 2314
2315#ifndef HAVE_ARCH_PCI_SET_DMA_MAX_SEGMENT_SIZE
2316int pci_set_dma_max_seg_size(struct pci_dev *dev, unsigned int size) 2315int pci_set_dma_max_seg_size(struct pci_dev *dev, unsigned int size)
2317{ 2316{
2318 return dma_set_max_seg_size(&dev->dev, size); 2317 return dma_set_max_seg_size(&dev->dev, size);
2319} 2318}
2320EXPORT_SYMBOL(pci_set_dma_max_seg_size); 2319EXPORT_SYMBOL(pci_set_dma_max_seg_size);
2321#endif
2322 2320
2323#ifndef HAVE_ARCH_PCI_SET_DMA_SEGMENT_BOUNDARY
2324int pci_set_dma_seg_boundary(struct pci_dev *dev, unsigned long mask) 2321int pci_set_dma_seg_boundary(struct pci_dev *dev, unsigned long mask)
2325{ 2322{
2326 return dma_set_seg_boundary(&dev->dev, mask); 2323 return dma_set_seg_boundary(&dev->dev, mask);
2327} 2324}
2328EXPORT_SYMBOL(pci_set_dma_seg_boundary); 2325EXPORT_SYMBOL(pci_set_dma_seg_boundary);
2329#endif
2330 2326
2331static int pcie_flr(struct pci_dev *dev, int probe) 2327static int pcie_flr(struct pci_dev *dev, int probe)
2332{ 2328{