From: Thomas Hood <jdthood@mail.com>
To: linux-kernel@vger.kernel.org
Cc: Stelian Pop <stelian.pop@fr.alcove.com>
Subject: [PATCH] PnPBIOS 2.4.9-ac1[56] Vaio fix
Date: Fri, 28 Sep 2001 20:28:52 -0400 [thread overview]
Message-ID: <3BB515C4.E37C0B16@mail.com> (raw)
Here is a new patch against stock 2.4.9-ac16.
It is about the minimum change that is required to get
-ac16 working on Sony Vaio laptops. I omit the
other changes to the PnP BIOS driver that I submitted
earlier ... we should get this straightened out first.
Once Alan releases a kernel with this or a similar
patch, I'll submit a new patch that fixes the
disabled-device problems I was grappling with before.
(Did you know that 'Bios' is a Hindi word for 'quicksand'?
I'll bet you didn't. That's because I just made it up.)
The fix is required because Sony Vaio laptops' PnP BIOS
won't handle requests to get the "current" resource
configuration.
The fix:
In many cases it doesn't matter whether we get the
"current" or "boot" configuration of a device (e.g.,
when we are just looking for the PnP I.D.s), so for
the most part the fix consists of asking for the
"boot" rather than the "current" config.
One thing that had to be done, however, was to eliminate
the /proc/bus/pnp interface to "current" config values
for those laptops that can't supply them. Accordingly, now,
the PnP BIOS proc module is initialized with a flag that can
tell it to omit the "current" files. The PnP BIOS driver
calls with this flag set when the is_sony_vaio_laptop global
variable is nonzero. The DMI scan routine will set
is_sony_vaio_laptop to 1, but at present it runs
too late for this to be of use to the PnP BIOS driver.
With the patch the variable can also be set using the
"nobioscurrpnp" boot option; users of Sony Vaio laptops
will have to use this option until the DMI scan is put
earlier in the boot sequence.
--
Thomas
next reply other threads:[~2001-09-29 0:29 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-29 0:28 Thomas Hood [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-09-29 0:29 [PATCH] PnPBIOS 2.4.9-ac1[56] Vaio fix Thomas Hood
2001-09-30 17:46 Thomas Hood
2001-10-01 10:04 ` Stelian Pop
2001-10-01 13:50 ` St?phane List
2001-10-01 12:54 Thomas Hood
2001-10-01 13:41 ` Stelian Pop
2001-10-01 19:21 ` J.D. Hood
2001-10-02 8:35 ` Stelian Pop
2001-10-01 13:44 ` Alan Cox
2001-10-02 1:54 Thomas Hood
2001-10-02 13:37 Thomas Hood
2001-10-02 15:15 Thomas Hood
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=3BB515C4.E37C0B16@mail.com \
--to=jdthood@mail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stelian.pop@fr.alcove.com \
/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