提交 b41c82eb 编写于 作者: D Dave Jones

[AGPGART] Add some informational printk to nforce GART failure path.

Signed-off-by: NDave Jones <davej@redhat.com>
上级 cf5e4022
...@@ -516,8 +516,10 @@ static int __devinit nforce3_agp_init(struct pci_dev *pdev) ...@@ -516,8 +516,10 @@ static int __devinit nforce3_agp_init(struct pci_dev *pdev)
pci_read_config_dword (hammers[0], AMD64_GARTAPERTUREBASE, &apbase); pci_read_config_dword (hammers[0], AMD64_GARTAPERTUREBASE, &apbase);
/* if x86-64 aperture base is beyond 4G, exit here */ /* if x86-64 aperture base is beyond 4G, exit here */
if ( (apbase & 0x7fff) >> (32 - 25) ) if ( (apbase & 0x7fff) >> (32 - 25) ) {
return -ENODEV; printk(KERN_INFO PFX "aperture base > 4G\n");
return -ENODEV;
}
apbase = (apbase & 0x7fff) << 25; apbase = (apbase & 0x7fff) << 25;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册