From: Heiko Ettelbrueck <hbruckynews-hi6Y0CQ0nG0@public.gmane.org>
To: Christian Brix Folsted Andersen
<folsted-TJNDrJVYK8B/SzgSGea1oA@public.gmane.org>
Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org
Subject: Re: Problems installing ACPI
Date: Tue, 21 Jan 2003 13:03:59 +0100 [thread overview]
Message-ID: <3E2D372F.5040500@gmx.net> (raw)
In-Reply-To: <1043147191.1205.8.camel-bkBLLvNVh9RMk0OslVgrwH9LOBIZ5rWg@public.gmane.org>
Christian Brix Folsted Andersen wrote:
> However i am having a bit of a problem applying your patch. The file
> drivers/acpi/osl.c does not exist instead there is a file called os.c.
> I looked at the file and tried to patch it manualy, but can not find the
> position of the last part of the patch.
>
> The first part was added at line 85 of os.c
>
> static int acpi_irq_irq = 0;
> static OSD_HANDLER acpi_irq_handler = NULL;
> static void *acpi_irq_context = NULL;
>
> extern unsigned char AmlCode[];
>
> In which function is the last part supposed to go?
> Which kernel did you use?
I use a vanilla kernel 2.4.20 with the ACPI patch 20021205. Did you use
another ACPI patch? Perhaps this part has changed...
The last part of the patch is for the function acpi_os_table_override:
<<original>>
acpi_status
acpi_os_table_override (acpi_table_header *existing_table,
acpi_table_header **new_table)
{
if (!existing_table || !new_table)
return AE_BAD_PARAMETER;
*new_table = NULL;
return AE_OK;
}
<<patched>>
acpi_status
acpi_os_table_override (acpi_table_header *existing_table,
acpi_table_header **new_table)
{
if (!existing_table || !new_table)
return AE_BAD_PARAMETER;
*new_table = NULL;
if (strncmp(existing_table->signature, "DSDT", 4) == 0)
*new_table = (acpi_table_header*)AmlCode;
else
*new_table = NULL;
return AE_OK;
}
I hope this will help. Please tell me whether you had success ;-)
Regards
Heiko
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
next prev parent reply other threads:[~2003-01-21 12:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-20 17:28 Problems installing ACPI Christian Brix Folsted Andersen
[not found] ` <1043083690.1702.15.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-01-20 18:45 ` Heiko Ettelbrueck
[not found] ` <3E2C43D3.3020307-hi6Y0CQ0nG0@public.gmane.org>
2003-01-20 21:58 ` Heiko Ettelbrueck
[not found] ` <3E2C70FB.1090905-hi6Y0CQ0nG0@public.gmane.org>
2003-01-21 11:06 ` Christian Brix Folsted Andersen
[not found] ` <1043147191.1205.8.camel-bkBLLvNVh9RMk0OslVgrwH9LOBIZ5rWg@public.gmane.org>
2003-01-21 12:03 ` Heiko Ettelbrueck [this message]
[not found] ` <3E2D372F.5040500-hi6Y0CQ0nG0@public.gmane.org>
2003-01-21 15:02 ` Christian Brix Folsted Andersen
[not found] ` <1043161338.1284.14.camel-bkBLLvNVh9RMk0OslVgrwH9LOBIZ5rWg@public.gmane.org>
2003-01-21 16:15 ` Heiko Ettelbrueck
[not found] ` <3E2D722C.5090508-hi6Y0CQ0nG0@public.gmane.org>
2003-01-21 16:37 ` Christian Brix Folsted Andersen
[not found] ` <1043167032.1763.4.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-01-21 17:04 ` Heiko Ettelbrueck
2003-01-21 17:04 ` Faye Pearson
2003-01-21 13:29 ` Ducrot Bruno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E2D372F.5040500@gmx.net \
--to=hbruckynews-hi6y0cq0ng0@public.gmane.org \
--cc=acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org \
--cc=folsted-TJNDrJVYK8B/SzgSGea1oA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox