From: Mathieu BĂ©rard Date: Sat, 16 Sep 2006 22:35:49 +0000 (+0000) Subject: * ATI chipset fix X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=02d30b1c2de5969cf6f48dc4f2af08ffa960e105;p=omnibook.git * ATI chipset fix --- diff --git a/nbsmi.c b/nbsmi.c index 36b22ac..d9cf2a3 100644 --- a/nbsmi.c +++ b/nbsmi.c @@ -41,7 +41,12 @@ #define BUFFER_SIZE 0x20 #define INTEL_OFFSET 0x60 #define INTEL_SMI_PORT 0xb2 /* APM_CNT port in INTEL ICH specs */ -#define ATI_OFFSET 0xef +/* + * Toshiba Specs state 0xef here but: + * -this would overflow (ef + 19 > ff) + * -code from Toshiba use e0, which make much more sense + */ +#define ATI_OFFSET 0xe0 #define ATI_SMI_PORT 0xb0 #define EC_INDEX_PORT 0x300