diff options
Diffstat (limited to 'arch/x86/pci/common.c')
-rw-r--r-- | arch/x86/pci/common.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index 7b6a9d14c8c0..a4fdfa7dcc1b 100644 --- a/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c | |||
@@ -677,6 +677,12 @@ static void set_dma_domain_ops(struct pci_dev *pdev) | |||
677 | static void set_dma_domain_ops(struct pci_dev *pdev) {} | 677 | static void set_dma_domain_ops(struct pci_dev *pdev) {} |
678 | #endif | 678 | #endif |
679 | 679 | ||
680 | static void set_dev_domain_options(struct pci_dev *pdev) | ||
681 | { | ||
682 | if (is_vmd(pdev->bus)) | ||
683 | pdev->hotplug_user_indicators = 1; | ||
684 | } | ||
685 | |||
680 | int pcibios_add_device(struct pci_dev *dev) | 686 | int pcibios_add_device(struct pci_dev *dev) |
681 | { | 687 | { |
682 | struct setup_data *data; | 688 | struct setup_data *data; |
@@ -707,6 +713,7 @@ int pcibios_add_device(struct pci_dev *dev) | |||
707 | iounmap(data); | 713 | iounmap(data); |
708 | } | 714 | } |
709 | set_dma_domain_ops(dev); | 715 | set_dma_domain_ops(dev); |
716 | set_dev_domain_options(dev); | ||
710 | return 0; | 717 | return 0; |
711 | } | 718 | } |
712 | 719 | ||