Commit 7282c60a authored by Dave Jones's avatar Dave Jones

[AGPGART] Fix same logic bug in KT400 mode determination.

parent 97cbf573
......@@ -116,7 +116,7 @@ static int __init agp_via_probe (struct pci_dev *dev, const struct pci_device_id
pci_read_config_byte(dev, VIA_AGPSEL, &reg);
/* Check if we are in AGP 2.0 compatability mode, if so it
* will be picked up by via-agp.o */
if ((reg & (1<<1))==1)
if ((reg & (1<<1))!=0)
return -ENODEV;
printk (KERN_INFO PFX "Detected VIA KT400 AGP3 chipset\n");
......
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