diff options
| author | Joerg Roedel <joerg.roedel@amd.com> | 2008-12-10 14:04:18 -0500 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-01-03 08:11:57 -0500 |
| commit | a4e267c88b4acfc87ff2ab0cc8e9509878e9aaba (patch) | |
| tree | 5f988f95122a0dcaf1d3ab0d34c76fcf0ecca271 | |
| parent | edcb34da259c503a2ffd37e51a658672ba3bc7a2 (diff) | |
AMD IOMMU: use dev_name in iommu_enable function
Impact: cleanup
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
| -rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index 47e163b4431e..be81f6125c51 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
| @@ -246,12 +246,8 @@ static void __init iommu_feature_disable(struct amd_iommu *iommu, u8 bit) | |||
| 246 | /* Function to enable the hardware */ | 246 | /* Function to enable the hardware */ |
| 247 | void __init iommu_enable(struct amd_iommu *iommu) | 247 | void __init iommu_enable(struct amd_iommu *iommu) |
| 248 | { | 248 | { |
| 249 | printk(KERN_INFO "AMD IOMMU: Enabling IOMMU " | 249 | printk(KERN_INFO "AMD IOMMU: Enabling IOMMU at %s cap 0x%hx\n", |
| 250 | "at %02x:%02x.%x cap 0x%hx\n", | 250 | dev_name(&iommu->dev->dev), iommu->cap_ptr); |
| 251 | iommu->dev->bus->number, | ||
| 252 | PCI_SLOT(iommu->dev->devfn), | ||
| 253 | PCI_FUNC(iommu->dev->devfn), | ||
| 254 | iommu->cap_ptr); | ||
| 255 | 251 | ||
| 256 | iommu_feature_enable(iommu, CONTROL_IOMMU_EN); | 252 | iommu_feature_enable(iommu, CONTROL_IOMMU_EN); |
| 257 | } | 253 | } |
