Commit 7568a4da authored by Dave Jones's avatar Dave Jones

[AGPGART] Report fixing of errata, and add missing printk stuff (\n's, KERN_INFO, PFX)

parent 015498d5
...@@ -278,12 +278,13 @@ static int __init agp_amdk8_probe(struct pci_dev *pdev, ...@@ -278,12 +278,13 @@ static int __init agp_amdk8_probe(struct pci_dev *pdev,
default: revstring="??"; default: revstring="??";
break; break;
} }
printk ("Detected AMD 8151 AGP Bridge rev %s", revstring); printk (KERN_INFO PFX "Detected AMD 8151 AGP Bridge rev %s\n", revstring);
/* /*
* Work around errata. * Work around errata.
* Chips before B2 stepping incorrectly reporting v3.5 * Chips before B2 stepping incorrectly reporting v3.5
*/ */
if (rev_id < 0x13) { if (rev_id < 0x13) {
printk (KERN_INFO PFX "Correcting AGP revision (reports 3.5, is really 3.0)\n");
bridge->major_version = 3; bridge->major_version = 3;
bridge->minor_version = 0; bridge->minor_version = 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment