Linux ACPI
 help / color / mirror / Atom feed
* [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-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