From: Matthew Wilcox <willy-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
To: Dino Klein <dinoklein-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Where can I find some documentation/examples?
Date: Thu, 8 Jan 2004 04:52:07 +0000 [thread overview]
Message-ID: <20040108045207.GR17182@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <LAW11-OE2428gdq0f690001fb1d-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
On Wed, Jan 07, 2004 at 11:26:08PM -0500, Dino Klein wrote:
> I've taken a look at the serial driver's use of acpi in order to discover ports, and their resources (in kernel 2.6.0). One thing
> puzzled me there, since it seems that it is possible to unload their acpi related, and therefore having it call
> acpi_bus_unregister_driver(); however, as far as I can tell, the serial port itself is still being used by the serial driver. This
> is why I'm not quite sure about the relationship between a regular linux driver, and the acpi subsystem.
> So, any pointers would be appreciated.
You don't necessarily want to take that driver as a good example of
what's needed to write an ACPI driver. Actually somebody else just
pointed out the same thing to me earlier today. On the systems I work
on, I use serial console, so it's pretty much mandatory to have 8250
built in and hence the remove method never gets called ;-)
Take a look at something like the button driver instead.
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
next prev parent reply other threads:[~2004-01-08 4:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-08 4:26 Where can I find some documentation/examples? Dino Klein
[not found] ` <LAW11-OE2428gdq0f690001fb1d-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
2004-01-08 4:52 ` Matthew Wilcox [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-01-08 15:15 Dino Klein
2004-01-12 7:20 Yu, Luming
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=20040108045207.GR17182@parcelfarce.linux.theplanet.co.uk \
--to=willy-8fiuurrzop0dnm+yrofe0a@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=dinoklein-PkbjNfxxIARBDgjK7y7TUQ@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