Messages in this thread | | | Date | Fri, 7 Dec 2001 13:46:45 +0100 (MET) | From | Pozsar Balazs <> | Subject | Re: [PATCH][highly-experimental] via-mwq (Was: Re: VIA acknowledges North Bridge bug...) |
| |
On Fri, 7 Dec 2001, Martin Eriksson wrote:
> I've (hastily) put these changes into "arch/i386/kernel/pci-pc.c" and had to > modify "include/linux/pci_ids.h" too. > > The patch is included, but a warning: I have no VIA based computer that I > can test this on myself...
I noticed one little typo:
[...] +static void __init pci_fixup_via_kt266_athlon_bug(struct pci_dev *d) +{ + u8 v; + pci_read_config_byte(d, 0x95, &v); + if (v & 0xE0) { + printk("PCI: Disabling VIA VT8366 Memory Write Queue\n"); + v &= 0x1f; /* clear bit 55.7, 6, 5 */ ^^^^^ + pci_write_config_byte(d, 0x95, v); + } +} +
It should also be 95 imho.
regards, -- Balazs Pozsar
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |