Messages in this thread | | | Subject | Re: [PATCH 4/5]ACPI PNP driver | From | Li Shaohua <> | Date | Thu, 21 Oct 2004 14:03:14 +0800 |
| |
On Thu, 2004-10-21 at 14:01, Mika Penttilä wrote: > Li Shaohua wrote: > > >Hi, > >This patch provides an ACPI based PNP driver. It is based on Matthieu > >Castet's original work. With this patch, legacy device drivers (floppy > >ACPI driver, COM ACPI driver, and ACPI motherboard driver) which > >directly use ACPI can be removed, since now we have unified PNP > >interface for legacy devices. > > > >Thanks, > >Shaohua > > > >Signed-off-by: Li Shaohua <shaohua.li@intel.com> > > > >The patch depends on previous 3 patches. > > > >--- 2.6/drivers/pnp/isapnp/Kconfig.stg3 2004-10-18 17:34:17.591712040 > >+0800 > >+++ 2.6/drivers/pnp/isapnp/Kconfig 2004-10-18 17:36:19.173228840 +0800 > > > > > Are you supposed to list here _every_ device to which not to bind? Is > this feasible? Maybe take another approach and bind to the "default" > acpi pnp driver if no specific driver found ? > > +static char excluded_id_list[] = > + "PNP0C0A," /* Battery */ > + "PNP0C0C,PNP0C0E,PNP0C0D," /* Button */ > + "PNP0C09," /* EC */ > + "PNP0C0B," /* Fan */ > + "PNP0A03," /* PCI root */ > + "PNP0C0F," /* Link device */ > + "PNP0000," /* PIC */ > + "PNP0100," /* Timer */ > + ; We can't distinguish if a device has driver. Driver can be loaded as a module. The devices listed here are mainly be controlled by ACPI core or can't be controlled by PNP like PIC. This should be a short list.
Thanks, Shaohua
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |