Re: [PATCH 0/14] ACPI: make ACPI use driver model

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-12-08 at 00:28 +0800, Bjorn Helgaas wrote:
> On Thursday 07 December 2006 05:56, Zhang Rui wrote:
> > 1. ACPI driver model. 
> > ACPI driver are made to follow Linux driver model.
> > The main work is to convert the registration interfaces,so that
> > ACPI devices are registered with the global device tree.
> >         Note the new .uevent method mark ACPI drivers by PNPID 
> > instead of by name. Udev script needs to look for "HWID = "
> > or "COMPTID = " to load the right ACPI driver.
> 
> I generally like the direction this is headed.
> 
> But I wonder whether it's right to expose the distinction between
> PNP devices and ACPI devices to userspace.
> 
> Assume you had a box where you can run either PNPBIOS firmware
> or ACPI firmware.  Since the box has exactly the same hardware
> in either case, it would be nice if everything in /sys and udev
> stayed the same.
> 
> Is it possible to extend the PNP model to include ACPI, rather
> than introducing a new ACPI model alongside the PNP model?
Don't think it's easy. ACPI driver uses some acpi helpers and handle
some ACPI specific event like notification/gpe ...

Thanks,
Shaohua
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux