* [patch] pci/hotplug acpiphp: fix Kconfig for Dock dependencies
@ 2006-07-25 23:18 Kristen Carlson Accardi
2006-07-25 23:41 ` Keshavamurthy Anil S
0 siblings, 1 reply; 7+ messages in thread
From: Kristen Carlson Accardi @ 2006-07-25 23:18 UTC (permalink / raw)
To: linux-acpi
Cc: len.brown, akpm, zippel, rdunlap, linux-kernel, greg,
pcihpd-discuss
---
the build options submitted for 2.6.18-rcX for acpiphp and the dock
module are not quite right. Can you please review this patch and
make sure this makes sense? I'd like this pushed to Linus as
soon as possible.
Change the build options for acpiphp so that it may build without
being dependent on the ACPI_DOCK option, but yet does not allow
the option of acpiphp being built-in when dock is built as a
module.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
---
drivers/pci/hotplug/Kconfig | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
--- 2.6-git.orig/drivers/pci/hotplug/Kconfig
+++ 2.6-git/drivers/pci/hotplug/Kconfig
@@ -74,9 +74,10 @@ config HOTPLUG_PCI_IBM
When in doubt, say N.
+if ACPI_DOCK=n
config HOTPLUG_PCI_ACPI
tristate "ACPI PCI Hotplug driver"
- depends on ACPI_DOCK && HOTPLUG_PCI
+ depends on ACPI && HOTPLUG_PCI
help
Say Y here if you have a system that supports PCI Hotplug using
ACPI.
@@ -85,6 +86,20 @@ config HOTPLUG_PCI_ACPI
module will be called acpiphp.
When in doubt, say N.
+endif
+if ACPI_DOCK!=n
+config HOTPLUG_PCI_ACPI
+ tristate "ACPI PCI Hotplug driver"
+ depends on HOTPLUG_PCI && ACPI_DOCK
+ help
+ Say Y here if you have a system that supports PCI Hotplug using
+ ACPI.
+
+ To compile this driver as a module, choose M here: the
+ module will be called acpiphp.
+
+ When in doubt, say N.
+endif
config HOTPLUG_PCI_ACPI_IBM
tristate "ACPI PCI Hotplug driver IBM extensions"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] pci/hotplug acpiphp: fix Kconfig for Dock dependencies
2006-07-25 23:18 [patch] pci/hotplug acpiphp: fix Kconfig for Dock dependencies Kristen Carlson Accardi
@ 2006-07-25 23:41 ` Keshavamurthy Anil S
2006-07-26 0:13 ` Randy.Dunlap
2006-07-26 17:32 ` Kristen Carlson Accardi
0 siblings, 2 replies; 7+ messages in thread
From: Keshavamurthy Anil S @ 2006-07-25 23:41 UTC (permalink / raw)
To: Kristen Carlson Accardi
Cc: linux-acpi, Brown, Len, akpm, zippel, rdunlap, linux-kernel, greg,
pcihpd-discuss
On Tue, Jul 25, 2006 at 04:18:54PM -0700, Kristen Carlson Accardi wrote:
> drivers/pci/hotplug/Kconfig | 17 ++++++++++++++++-
> 1 file changed, 16 insertions(+), 1 deletion(-)
Can;t this be done with just one line change?
Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
>
> config HOTPLUG_PCI_ACPI
> tristate "ACPI PCI Hotplug driver"
> - depends on ACPI_DOCK && HOTPLUG_PCI
depends on (!ACPI_DOCK && ACPI && HOTPLUG_PCI) || (ACPI_DOCK && HOTPLUG_PCI)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] pci/hotplug acpiphp: fix Kconfig for Dock dependencies
2006-07-25 23:41 ` Keshavamurthy Anil S
@ 2006-07-26 0:13 ` Randy.Dunlap
2006-07-26 12:02 ` Keshavamurthy Anil S
2006-07-26 17:32 ` Kristen Carlson Accardi
1 sibling, 1 reply; 7+ messages in thread
From: Randy.Dunlap @ 2006-07-26 0:13 UTC (permalink / raw)
To: Keshavamurthy Anil S
Cc: Kristen Carlson Accardi, linux-acpi, Brown, Len, akpm, zippel,
rdunlap, linux-kernel, greg, pcihpd-discuss
On Tue, 25 Jul 2006, Keshavamurthy Anil S wrote:
> On Tue, Jul 25, 2006 at 04:18:54PM -0700, Kristen Carlson Accardi wrote:
> > drivers/pci/hotplug/Kconfig | 17 ++++++++++++++++-
> > 1 file changed, 16 insertions(+), 1 deletion(-)
> Can;t this be done with just one line change?
The first attempted patch was something like:
depends on HOTPLUG_PCI && ACPI_DOCK!=n
but that is not legal kconfig language.
Did you have something else in mind?
> Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
>
> >
> > config HOTPLUG_PCI_ACPI
> > tristate "ACPI PCI Hotplug driver"
> > - depends on ACPI_DOCK && HOTPLUG_PCI
> depends on (!ACPI_DOCK && ACPI && HOTPLUG_PCI) || (ACPI_DOCK && HOTPLUG_PCI)
--
~Randy
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] pci/hotplug acpiphp: fix Kconfig for Dock dependencies
2006-07-26 0:13 ` Randy.Dunlap
@ 2006-07-26 12:02 ` Keshavamurthy Anil S
0 siblings, 0 replies; 7+ messages in thread
From: Keshavamurthy Anil S @ 2006-07-26 12:02 UTC (permalink / raw)
To: Randy.Dunlap
Cc: Keshavamurthy Anil S, Kristen Carlson Accardi, linux-acpi,
Brown, Len, akpm, zippel, linux-kernel, greg, pcihpd-discuss
On Tue, Jul 25, 2006 at 05:13:31PM -0700, Randy.Dunlap wrote:
> On Tue, 25 Jul 2006, Keshavamurthy Anil S wrote:
>
> > On Tue, Jul 25, 2006 at 04:18:54PM -0700, Kristen Carlson Accardi wrote:
> > > drivers/pci/hotplug/Kconfig | 17 ++++++++++++++++-
> > > 1 file changed, 16 insertions(+), 1 deletion(-)
> > Can;t this be done with just one line change?
>
> The first attempted patch was something like:
>
> depends on HOTPLUG_PCI && ACPI_DOCK!=n
>
> but that is not legal kconfig language.
> Did you have something else in mind?
Yup, already mentioned in my first email.
Please see below which is just one line change
and acheives the same as your 17 line change patch.
> > > - depends on ACPI_DOCK && HOTPLUG_PCI
> > depends on (!ACPI_DOCK && ACPI && HOTPLUG_PCI) || (ACPI_DOCK && HOTPLUG_PCI)
-Anil
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] pci/hotplug acpiphp: fix Kconfig for Dock dependencies
2006-07-25 23:41 ` Keshavamurthy Anil S
2006-07-26 0:13 ` Randy.Dunlap
@ 2006-07-26 17:32 ` Kristen Carlson Accardi
2006-07-27 0:23 ` Roman Zippel
1 sibling, 1 reply; 7+ messages in thread
From: Kristen Carlson Accardi @ 2006-07-26 17:32 UTC (permalink / raw)
To: Keshavamurthy Anil S
Cc: linux-acpi, len.brown, akpm, zippel, rdunlap, linux-kernel, greg,
pcihpd-discuss
---
I confirmed that Anil's patch will work, here is a proper patch with
Anil's changes.
Change the build options for acpiphp so that it may build without being
dependent on the ACPI_DOCK option, but yet does not allow the option of
acpiphp being built-in when dock is built as a module.
Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
---
drivers/pci/hotplug/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 2.6-git.orig/drivers/pci/hotplug/Kconfig
+++ 2.6-git/drivers/pci/hotplug/Kconfig
@@ -76,7 +76,7 @@ config HOTPLUG_PCI_IBM
config HOTPLUG_PCI_ACPI
tristate "ACPI PCI Hotplug driver"
- depends on ACPI_DOCK && HOTPLUG_PCI
+ depends on (!ACPI_DOCK && ACPI && HOTPLUG_PCI) || (ACPI_DOCK && HOTPLUG_PCI)
help
Say Y here if you have a system that supports PCI Hotplug using
ACPI.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch] pci/hotplug acpiphp: fix Kconfig for Dock dependencies
2006-07-26 17:32 ` Kristen Carlson Accardi
@ 2006-07-27 0:23 ` Roman Zippel
0 siblings, 0 replies; 7+ messages in thread
From: Roman Zippel @ 2006-07-27 0:23 UTC (permalink / raw)
To: Kristen Carlson Accardi
Cc: Keshavamurthy Anil S, linux-acpi, len.brown, akpm, rdunlap,
linux-kernel, greg, pcihpd-discuss
Hi,
On Wed, 26 Jul 2006, Kristen Carlson Accardi wrote:
> config HOTPLUG_PCI_ACPI
> tristate "ACPI PCI Hotplug driver"
> - depends on ACPI_DOCK && HOTPLUG_PCI
> + depends on (!ACPI_DOCK && ACPI && HOTPLUG_PCI) || (ACPI_DOCK && HOTPLUG_PCI)
> help
If you keep the HOTPLUG_PCI separate, it won't break the menu, e.g.
((!ACPI_DOCK && ACPI) || ACPI_DOCK) && HOTPLUG_PCI
BTW most of this file could be put into a "if HOTPLUG_PCI" group, so all
the HOTPLUG_PCI dependencies don't have to be repeated.
bye, Roman
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [patch] pci/hotplug acpiphp: fix Kconfig for Dock dependencies
@ 2006-08-16 4:59 Brown, Len
0 siblings, 0 replies; 7+ messages in thread
From: Brown, Len @ 2006-08-16 4:59 UTC (permalink / raw)
To: Accardi, Kristen C, Keshavamurthy, Anil S
Cc: linux-acpi, akpm, zippel, rdunlap, linux-kernel, greg,
pcihpd-discuss
Applied.
thanks,
-Len
>-----Original Message-----
>From: Kristen Carlson Accardi [mailto:kristen.c.accardi@intel.com]
>Sent: Wednesday, July 26, 2006 1:32 PM
>To: Keshavamurthy, Anil S
>Cc: linux-acpi@vger.kernel.org; Brown, Len; akpm@osdl.org;
>zippel@linux-m68k.org; rdunlap@xenotime.net;
>linux-kernel@vger.kernel.org; greg@kroah.com;
>pcihpd-discuss@lists.sourceforge.net
>Subject: Re: [patch] pci/hotplug acpiphp: fix Kconfig for Dock
>dependencies
>
>---
>I confirmed that Anil's patch will work, here is a proper patch with
>Anil's changes.
>
>Change the build options for acpiphp so that it may build without being
>dependent on the ACPI_DOCK option, but yet does not allow the option of
>acpiphp being built-in when dock is built as a module.
>
>Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
>Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
>---
> drivers/pci/hotplug/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>--- 2.6-git.orig/drivers/pci/hotplug/Kconfig
>+++ 2.6-git/drivers/pci/hotplug/Kconfig
>@@ -76,7 +76,7 @@ config HOTPLUG_PCI_IBM
>
> config HOTPLUG_PCI_ACPI
> tristate "ACPI PCI Hotplug driver"
>- depends on ACPI_DOCK && HOTPLUG_PCI
>+ depends on (!ACPI_DOCK && ACPI && HOTPLUG_PCI) ||
>(ACPI_DOCK && HOTPLUG_PCI)
> help
> Say Y here if you have a system that supports PCI
>Hotplug using
> ACPI.
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-08-16 4:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-25 23:18 [patch] pci/hotplug acpiphp: fix Kconfig for Dock dependencies Kristen Carlson Accardi
2006-07-25 23:41 ` Keshavamurthy Anil S
2006-07-26 0:13 ` Randy.Dunlap
2006-07-26 12:02 ` Keshavamurthy Anil S
2006-07-26 17:32 ` Kristen Carlson Accardi
2006-07-27 0:23 ` Roman Zippel
-- strict thread matches above, loose matches on Subject: below --
2006-08-16 4:59 Brown, Len
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox