summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/amd64-agp.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-02-21 00:34:37 +0100
committerDave Jones <davej@redhat.com>2006-02-21 00:34:37 +0100
commitb41c82eb5fb49912ce26c51ec221ba35e06c7d9b (patch)
tree25cfbb37391320dd3359ceeb9a4565faf0e4a47c /drivers/char/agp/amd64-agp.c
parent[AGPGART] Improve the error message shown when we detect a ServerWorks CNB20HE (diff)
downloadlinux-b41c82eb5fb49912ce26c51ec221ba35e06c7d9b.tar.xz
linux-b41c82eb5fb49912ce26c51ec221ba35e06c7d9b.zip
[AGPGART] Add some informational printk to nforce GART failure path.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/char/agp/amd64-agp.c')
-rw-r--r--drivers/char/agp/amd64-agp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c
index 9964c508c111..1251b2515bbe 100644
--- a/drivers/char/agp/amd64-agp.c
+++ b/drivers/char/agp/amd64-agp.c
@@ -516,8 +516,10 @@ static int __devinit nforce3_agp_init(struct pci_dev *pdev)
pci_read_config_dword (hammers[0], AMD64_GARTAPERTUREBASE, &apbase);
/* if x86-64 aperture base is beyond 4G, exit here */
- if ( (apbase & 0x7fff) >> (32 - 25) )
- return -ENODEV;
+ if ( (apbase & 0x7fff) >> (32 - 25) ) {
+ printk(KERN_INFO PFX "aperture base > 4G\n");
+ return -ENODEV;
+ }
apbase = (apbase & 0x7fff) << 25;