From: Laurent Pinchart <laurent.pinchart@skynet.be>
To: acpi@phobos.fachschaften.tu-muenchen.de
Cc: linux-kernel@vger.kernel.org, acpi@phobos.fachschaften.tu-muenchen.de
Subject: acpitbl bug
Date: Mon, 30 Jul 2001 22:35:44 +0200 [thread overview]
Message-ID: <01073022354400.00269@peter_pan> (raw)
In-Reply-To: <Pine.LNX.4.31.0107271525220.3001-100000@phobos.fachschaften.tu-muenchen.de> <3B659E2D.E6FB92EA@fc.hp.com>
In-Reply-To: <3B659E2D.E6FB92EA@fc.hp.com>
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
The acpitbl perl script doesn't display correctly the contents of the FADT
table flags, due to a 3-byte reserved field which is not handled correctly in
the show_table function.
I attached a patch to this e-mail.
Best regards,
Laurent Pinchart
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 754 bytes --]
diff -Naur old/acpitbl new/acpitbl
--- old/acpitbl Tue Apr 25 16:37:11 2000
+++ new/acpitbl Mon Jul 30 22:31:48 2001
@@ -64,13 +64,15 @@
{
local(*OUT, *desc, *data) = @_;
my(%size_to_tmpl) =
- ("D1"=>"C", "D2"=>"S", "D4"=>"I",
- "X1"=>"C", "X2"=>"S", "X4"=>"I",
- "A4"=>"A4", "A6"=>"A6", "A8"=>"A8");
+ ("D1"=>"C", "D2"=>"S", "D4"=>"I",
+ "X1"=>"C", "X2"=>"S", "X3"=>"a3",
+ "X4"=>"I", "A4"=>"A4", "A6"=>"A6",
+ "A8"=>"A8");
my(%size_to_fmt) =
("D1"=>"%d", "D2"=>"%d", "D4"=>"%d",
- "X1"=>"0x%02x", "X2"=>"0x%04x", "X4"=>"0x%08x",
- "A4"=>"%s", "A6"=>"%s", "A8"=>"%s");
+ "X1"=>"0x%02x", "X2"=>"0x%04x", "X3"=>"0x%06x",
+ "X4"=>"0x%08x", "A4"=>"%s", "A6"=>"%s",
+ "A8"=>"%s");
my($tmpl) = "";
my($max_size) = 0;
next prev parent reply other threads:[~2001-07-30 20:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-26 21:13 Support for serial console on legacy free machines Khalid Aziz
2001-07-27 13:28 ` Simon Richter
2001-07-30 17:49 ` Khalid Aziz
2001-07-30 20:35 ` Laurent Pinchart [this message]
2001-07-30 18:21 ` Rik van Riel
2001-07-30 19:39 ` Khalid Aziz
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=01073022354400.00269@peter_pan \
--to=laurent.pinchart@skynet.be \
--cc=acpi@phobos.fachschaften.tu-muenchen.de \
--cc=linux-kernel@vger.kernel.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