Package: athcool Version: 0.3.8-2 Severity: minor Tags: patch Hi,
the following patch adds support for AMD-762. I've tested it on an uniprocessor system on the Asus Dual Board a7m-266d. My tests shows that LONG addressing of registers will fail. Athcool shows the following errors then: AMD-762 (1022 700c) found enabling 'Stop Grant Disconnect #0' bit ... failed! Address 0x60 - 0x67 : (expected) 0x85A30CBD -> (actual) 0xFFFFCEBD enabling 'Stop Grant Disconnect #1' bit ... failed! Address 0x68 - 0x6B : (expected) 0x00B38CBD -> (actual) 0xFFFFCEBD After that disabling or changing the registers is impossible. When running the same with WORD access, everything works fine. I've also found the bits to be set for Halt Disconnect in the specification pdfs from amd (24416.pdf, 24462.pdf, 25818.pdf). Bye, Toby *** chips.h.patch --- athcool-0.3.9/orig/chips.h 2005-02-15 10:19:11.000000000 +0100 +++ athcool-0.3.9/new/chips.h 2005-02-15 10:14:15.000000000 +0100 @@ -16,7 +16,7 @@ typedef struct { int regid; int tp; - EachReg_s regs[3]; + EachReg_s regs[5]; } ChipReg_s; #define VENDORID_AMD 0x1022 @@ -92,10 +92,21 @@ {NULL, 0, 0 } } }, /* AMD AMD-762 (Chipset has not support HALT disconnect, so Powersaving only enables when S1 or S3 state entered */ - { REGID_AMD_762, TP_LONG, +#if 0 + { REGID_AMD_762, TP_LONG, // TP_LONG doesn't work { {"Stop Grant Disconnect #0", 0x60, 0x00020000}, {"Stop Grant Disconnect #1", 0x68, 0x00020000}, + {"Halt Disconnect #0", 0x60, 0x00040000}, + {"Halt Disconnect #1", 0x68, 0x00040000}, {NULL, 0, 0 } } }, +#else + { REGID_AMD_762, TP_WORD, // TP_LONG doesn't work + { {"Stop Grant Disconnect #0", 0x62, 0x0002}, + {"Stop Grant Disconnect #1", 0x6a, 0x0002}, + {"Halt Disconnect #0", 0x62, 0x0004}, + {"Halt Disconnect #1", 0x6a, 0x0004}, + {NULL, 0, 0 } } }, +#endif /* VIA Chipset ---------------------------------------------------------*/ /* VIA KX/KLE/KT/KM/KL/KN133[A] */ { REGID_VIA_KT133, TP_BYTE, -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (800, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.27 Locale: [EMAIL PROTECTED], LC_CTYPE=iso_8859_15 (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE) Versions of packages athcool depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii pciutils 1:2.1.11-15 Linux PCI Utilities -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]