diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2008-09-08 08:48:04 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-19 06:59:12 -0400 |
commit | ee893c24edb8ebab9a3fb66566855572579ad616 (patch) | |
tree | 72f51bc0e9686edc86c26322cb3656826d520588 /arch | |
parent | 335503e57b6b8de04cec5d27eb2c3d09ff98905b (diff) |
AMD IOMMU: save pci segment from ACPI tables
This patch adds the pci_seg field to the amd_iommu structure and fills
it with the corresponding value from the ACPI table.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index 41ce8d5d626e..b50234ef91ed 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
@@ -676,6 +676,7 @@ static int __init init_iommu_one(struct amd_iommu *iommu, struct ivhd_header *h) | |||
676 | */ | 676 | */ |
677 | iommu->devid = h->devid; | 677 | iommu->devid = h->devid; |
678 | iommu->cap_ptr = h->cap_ptr; | 678 | iommu->cap_ptr = h->cap_ptr; |
679 | iommu->pci_seg = h->pci_seg; | ||
679 | iommu->mmio_phys = h->mmio_phys; | 680 | iommu->mmio_phys = h->mmio_phys; |
680 | iommu->mmio_base = iommu_map_mmio_space(h->mmio_phys); | 681 | iommu->mmio_base = iommu_map_mmio_space(h->mmio_phys); |
681 | if (!iommu->mmio_base) | 682 | if (!iommu->mmio_base) |