public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ASUS ACPI driver patches
@ 2003-06-13  9:34 Karol Kozimor
  0 siblings, 0 replies; 3+ messages in thread
From: Karol Kozimor @ 2003-06-13  9:34 UTC (permalink / raw)
  To: Grover, Andrew
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Julien Lerouge

Hi,
The patches are ready:
http://hell.org.pl/~sziwan/asus/acpi4asus-0.24a-linux-2.4.21-rc7-acpi20030523.diff
is against 2.4.21-rc7 + latest ACPI code, and
http://hell.org.pl/~sziwan/asus/acpi4asus-0.24a-linux-2.5.70.diff
is against vanilla 2.5.70.

Any comments are welcome, best regards,

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: ASUS ACPI driver patches
@ 2003-06-13 18:25 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A847E96F66-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Grover, Andrew @ 2003-06-13 18:25 UTC (permalink / raw)
  To: Karol Kozimor; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Julien Lerouge

on compiling 2.4 version:

asus_acpi.c:137:1: warning: "S1X_PREFIX" redefined
asus_acpi.c:134:1: warning: this is the location of the previous
definition
asus_acpi.c: In function `asus_hotk_get_info':
asus_acpi.c:720: warning: unused variable `status'

You don't need to send me a new patch, but which line should I keep (137
or 134) and can I delete that unused var?

Thanks -- Regards -- Andy


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ASUS ACPI driver patches
       [not found] ` <F760B14C9561B941B89469F59BA3A847E96F66-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
@ 2003-06-13 18:33   ` Karol Kozimor
  0 siblings, 0 replies; 3+ messages in thread
From: Karol Kozimor @ 2003-06-13 18:33 UTC (permalink / raw)
  To: Grover, Andrew
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Julien Lerouge

Thus wrote Grover, Andrew:
> on compiling 2.4 version:
> 
> asus_acpi.c:137:1: warning: "S1X_PREFIX" redefined
> asus_acpi.c:134:1: warning: this is the location of the previous
> definition
> asus_acpi.c: In function `asus_hotk_get_info':
> asus_acpi.c:720: warning: unused variable `status'
> 
> You don't need to send me a new patch, but which line should I keep (137
> or 134) and can I delete that unused var?

Gosh, I have no idea how could I mess it up that way. Please apply the
patch below.

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org

--- asus_core.c~        2003-06-12 15:55:04.000000000 +0200
+++ asus_core.c 2003-06-13 20:30:01.000000000 +0200
@@ -139,7 +139,7 @@
 #define S1X_PREFIX "\\_SB.PCI0.PX40."
 #define L1X_PREFIX S1X_PREFIX
 #define A1X_PREFIX "\\_SB.PCI0.ISA.EC0."
-#define S1X_PREFIX A1X_PREFIX
+#define J1X_PREFIX A1X_PREFIX

 static struct model_data model_conf[END_MODEL] = {
         /*
@@ -178,8 +178,8 @@
        {"A1X", "MLED", "\\MAIL", NULL, NULL, A1X_PREFIX "_Q10", "\\BKLI",
         A1X_PREFIX "_Q0E", A1X_PREFIX "_Q0F", NULL, NULL, NULL, NULL, NULL},

-       {"J1X", "MLED", "\\MAIL", NULL, NULL, S1X_PREFIX "_Q10", "\\BKLI",
-        S1X_PREFIX "_Q0B", S1X_PREFIX "_Q0A", NULL, NULL, NULL, NULL, NULL}
+       {"J1X", "MLED", "\\MAIL", NULL, NULL, J1X_PREFIX "_Q10", "\\BKLI",
+        J1X_PREFIX "_Q0B", J1X_PREFIX "_Q0A", NULL, NULL, NULL, NULL, NULL}
 };

 /* procdir we use */
@@ -722,7 +722,6 @@
 {
        struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL };
        union acpi_object *model = NULL;
-       acpi_status status = AE_OK;

        /*
         * We have to write 0 on init this far for all ASUS models



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-13 18:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-13 18:25 ASUS ACPI driver patches Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847E96F66-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-06-13 18:33   ` Karol Kozimor
  -- strict thread matches above, loose matches on Subject: below --
2003-06-13  9:34 Karol Kozimor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox