lkml.org 
[lkml]   [2001]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Athlon: Try this (was: Re: Athlon bug stomping #2)
Hello Petr,
Saturday, September 15, 2001, 10:16:59 AM, you wrote:
PV> Hi,
PV> I'll sleep much better with ...

>> +static void __init pci_fixup_athlon_bug(struct pci_dev *d)
>> +{
>> + u8 v;
>> + printk("Trying to stomp on Athlon bug...\n");
>> + pci_read_config_byte(d, 0x55, &v);
PV>+ if (v & 0x80) {
>> + v &= 0x7f; /* clear bit 55.7 */
>> + pci_write_config_byte(d, 0x55, v);
PV>+ }

How about this:

+static void __init pci_fixup_athlon_bug(struct pci_dev *d)
+{
+ u8 v;
+ pci_read_config_byte(d, 0x55, &v);
+ if(v & 0x80) {
+ printk(KERN_NOTICE "Stomping on Athlon bug.\n");
+ v &= 0x7f; /* clear bit 55.7 */
+ pci_write_config_byte(d, 0x55, v);
+ }
+}

Well, these are cosmetic changes anyway...
What is more important now:
1) Do we have people who still see Athlon bug with the patch?
2) Do Alan read these messages? ;-)
--
Best regards, VDA
mailto:VDA@port.imtp.ilyichevsk.odessa.ua
http://port.imtp.ilyichevsk.odessa.ua/vda/


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.083 / U:0.076 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site