Commit f63a405c authored by Dave Jones's avatar Dave Jones

[AGPGART] Fix the same pci_get_class bug in the amd-k7 driver.

Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent b8cf7cb7
......@@ -429,7 +429,7 @@ static int __devinit agp_amdk7_probe(struct pci_dev *pdev,
u8 cap_ptr=0;
struct pci_dev *gfxcard=NULL;
while (!cap_ptr) {
gfxcard = pci_get_class(PCI_CLASS_DISPLAY_VGA, gfxcard);
gfxcard = pci_get_class(PCI_CLASS_DISPLAY_VGA<<8, gfxcard);
if (!gfxcard) {
printk (KERN_INFO PFX "Couldn't find an AGP VGA controller.\n");
return -ENODEV;
......
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