diff options
Diffstat (limited to 'drivers/char/agp/hp-agp.c')
-rw-r--r-- | drivers/char/agp/hp-agp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/agp/hp-agp.c b/drivers/char/agp/hp-agp.c index de5d6d212674..8c4c6ef748ec 100644 --- a/drivers/char/agp/hp-agp.c +++ b/drivers/char/agp/hp-agp.c | |||
@@ -85,8 +85,8 @@ static int __init hp_zx1_ioc_shared(void) | |||
85 | /* | 85 | /* |
86 | * IOC already configured by sba_iommu module; just use | 86 | * IOC already configured by sba_iommu module; just use |
87 | * its setup. We assume: | 87 | * its setup. We assume: |
88 | * - IOVA space is 1Gb in size | 88 | * - IOVA space is 1Gb in size |
89 | * - first 512Mb is IOMMU, second 512Mb is GART | 89 | * - first 512Mb is IOMMU, second 512Mb is GART |
90 | */ | 90 | */ |
91 | hp->io_tlb_ps = readq(hp->ioc_regs+HP_ZX1_TCNFG); | 91 | hp->io_tlb_ps = readq(hp->ioc_regs+HP_ZX1_TCNFG); |
92 | switch (hp->io_tlb_ps) { | 92 | switch (hp->io_tlb_ps) { |
@@ -115,7 +115,7 @@ static int __init hp_zx1_ioc_shared(void) | |||
115 | 115 | ||
116 | if (hp->gatt[0] != HP_ZX1_SBA_IOMMU_COOKIE) { | 116 | if (hp->gatt[0] != HP_ZX1_SBA_IOMMU_COOKIE) { |
117 | /* Normal case when no AGP device in system */ | 117 | /* Normal case when no AGP device in system */ |
118 | hp->gatt = NULL; | 118 | hp->gatt = NULL; |
119 | hp->gatt_entries = 0; | 119 | hp->gatt_entries = 0; |
120 | printk(KERN_ERR PFX "No reserved IO PDIR entry found; " | 120 | printk(KERN_ERR PFX "No reserved IO PDIR entry found; " |
121 | "GART disabled\n"); | 121 | "GART disabled\n"); |