Alan Cox wrote: > On Gwe, 2003-07-11 at 22:04, xi wrote: > >>And one interesting thing: >>in the AMD762 datasheet (24462.pdf) page 231 (Recommanded BIOS >>settings), I can see this: "Numerical Values shown with h or b are >>preferred settings." ; and AMD recommand this: >>-> set bits 2 and 1 of register 0x4C to "0b" >>-> set bits 23 and 3 respectively to "0b" and "1b" >> >>I can confirm that these settings works much more better, even if they >>don't exactly follow PCI specs. And I don't think this is specific to my >> cards since I have tested others. >>Furthermore, my AMD762 is revision B1 (just before the last one: C0), >>and my AMD768 revision is B2, the last one. >> >>Would you accept I make a patch which doesn't make any change in these >>registers at least up to AMD762 revision B1 (ie keeping recommanded >>values from AMD) ? > > > Lets try the AMD recommended settings. My old doc doesnt seem to have > those. I'll by happy to trial the patch in -ac and see if it plays up > the usual suspects for PCI spec violations (tg3 and i2o) > Ok, I provide two patchs with different behaviour: * patch_AMD762_PCI_compliance_set_by_bios.diff : lets the BIOS decide about PCI configuration * patch_AMD762_PCI_default_AMD_settings.diff : follow AMD recommendations but not PCI specs. Patch are against drivers/pci/quirks.c from 2.4.22-pre4 Regards, Xavier -- E-mail: ctrl.alt.sup@free.fr xizard@chez.com Please no longer use xizard@enib.fr, this e-mail will be removed soon. Homepage: http://xizard.free.fr http://www.chez.com/xizard/