Re: [PATCH] ACPI: ibm-acpi: fix Kconfig entries for ibm-acpi bay and dock

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

 



On Sat, 30 Dec 2006, Henrique de Moraes Holschuh wrote:
> Support for ACPI_BAY has not been merged in mainline yet.  Usage of
> "depends on FOO=n" fails if FOO is undefined, thus ibm-acpi support
> for bay was being made non-available in a kernel that has no other
> sort of bay support.
> 
> Fix it to use "depends on ! FOO" instead, that does the right thing
> when FOO is undefined.  Fix ACPI_IBM_DOCK accordingly as well while
> at it, and also improve the help text.

Either this patch, or a different fix (see below), should to be sent to
Linus.  Otherwise, it causes a regression (lack of removable bay support in
ibm-acpi).

Unfortunately, I didn't notice the problem before because I had ACPI_BAY
applied to my 2.6.18 and 2.6.19 test trees.

The patch uses "depends on ! FOO", which means the legacy support in
ibm-acpi can be selected if ACPI_DOCK or ACPI_BAY is set to "m" (module).
Loading ACPI_DOCK or ACPI_BAY module along with ibm-acpi and ACPI_IBM_DOCK
or ACPI_IBM_BAY could cause weird behaviour (untested) on some systems.

There are alternate ways to fix this.  The easiest would be to revert commit
2df910b4c3edcce9a0c12394db6f5f4a6e69c712 from Linus' tree, and I'd submit it
again when ACPI_BAY is ready to be sent to mainline.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux