Skip to contentSkip to conversation

ACPI: Make bay depend on dock

PATCH Applied [email protected] 3 participants 4 messages Feb 6, 2007 – Feb 23, 2007 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 5/13 ACPI: Make bay depend on dock

From: Kristen Carlson Accardi <[email protected]>

Since the bay driver depends on the dock driver for proper notification, make this driver depend on the dock driver.

---

 drivers/acpi/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/acpi/Kconfig renamed from drivers/acpi/Kconfig~acpi-make-bay-depend-on-dock +1 -0
diff -puN drivers/acpi/Kconfig~acpi-make-bay-depend-on-dock drivers/acpi/Kconfig
@@ -151,6 +151,7 @@ config ACPI_FAN
 config ACPI_DOCK
 	tristate "Dock"
 	depends on EXPERIMENTAL
+	depends on ACPI_DOCK
 	help
 	  This driver adds support for ACPI controlled docking stations
 

_

reviewer
#1 lore raw

Did you intend to make ACPI_BAY depend on ACPI_DOCK instead of making ACPI_DOCK depend on ACPI_DOCK?

-Len

Quoted 29 lines · On Monday 05 February 2007 19:09, [email protected] wrote:

From: Kristen Carlson Accardi <[email protected]>

Since the bay driver depends on the dock driver for proper notification, make this driver depend on the dock driver.

---

 drivers/acpi/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/acpi/Kconfig~acpi-make-bay-depend-on-dock drivers/acpi/Kconfig

drivers/acpi/Kconfig renamed from drivers/acpi/Kconfig~acpi-make-bay-depend-on-dock +1 -0
@@ -151,6 +151,7 @@ config ACPI_FAN
 config ACPI_DOCK
 	tristate "Dock"
 	depends on EXPERIMENTAL
+	depends on ACPI_DOCK
 	help
 	  This driver adds support for ACPI controlled docking stations
 

_
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 18 lines · On Fri, 9 Feb 2007 00:50:10 -0500 Len Brown <[email protected]> wrote:

Did you intend to make ACPI_BAY depend on ACPI_DOCK instead of making ACPI_DOCK depend on ACPI_DOCK?

-Len

Quoted 12 lines · On Monday 05 February 2007 19:09, [email protected] wrote:

From: Kristen Carlson Accardi <[email protected]>

Since the bay driver depends on the dock driver for proper notification, make this driver depend on the dock driver.

---

 drivers/acpi/Kconfig |    1 +
 1 file changed, 1 insertion(+)
Quoted 10 lines

drivers/acpi/Kconfig config ACPI_FAN · line 156

Quoted 10 lines

diff -puN drivers/acpi/Kconfig~acpi-make-bay-depend-on-dock drivers/acpi/Kconfig

drivers/acpi/Kconfig renamed from drivers/acpi/Kconfig~acpi-make-bay-depend-on-dock +1 -0
@@ -151,6 +151,7 @@ config ACPI_FAN
 config ACPI_DOCK
 	tristate "Dock"
 	depends on EXPERIMENTAL
+	depends on ACPI_DOCK
 	help
 	  This driver adds support for ACPI controlled docking stations

I dunno what's going on with this one - it might have got mangled. Please drop.

#3 lore raw
Quoted 20 lines · On Thu, 8 Feb 2007 22:01:52 -0800 Andrew Morton <[email protected]>…
Quoted 18 lines · On Fri, 9 Feb 2007 00:50:10 -0500 Len Brown <[email protected]> wrote:

Did you intend to make ACPI_BAY depend on ACPI_DOCK instead of making ACPI_DOCK depend on ACPI_DOCK?

-Len

Quoted 12 lines · On Monday 05 February 2007 19:09, [email protected] wrote:

From: Kristen Carlson Accardi <[email protected]>

Since the bay driver depends on the dock driver for proper notification, make this driver depend on the dock driver.

---

 drivers/acpi/Kconfig |    1 +
 1 file changed, 1 insertion(+)
Quoted 14 lines
Quoted 10 lines

drivers/acpi/Kconfig config ACPI_FAN · line 156

Quoted 10 lines

diff -puN drivers/acpi/Kconfig~acpi-make-bay-depend-on-dock drivers/acpi/Kconfig

drivers/acpi/Kconfig renamed from drivers/acpi/Kconfig~acpi-make-bay-depend-on-dock +1 -0
@@ -151,6 +151,7 @@ config ACPI_FAN
 config ACPI_DOCK
 	tristate "Dock"
 	depends on EXPERIMENTAL
+	depends on ACPI_DOCK
 	help
 	  This driver adds support for ACPI controlled docking stations

I dunno what's going on with this one - it might have got mangled. Please drop.

Eh - we do need this patch after all - here it is again - ACPI_BAY should be dependent on ACPI_DOCK.

Subject: ACPI: Make bay depend on dock

Since the bay driver depends on the dock driver for proper notification, make this driver depend on the dock driver.

---
 drivers/acpi/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/acpi/Kconfig +1 -0
@@ -142,6 +142,7 @@ config ACPI_DOCK
 config ACPI_BAY
 	tristate "Removable Drive Bay"
 	depends on EXPERIMENTAL
+	depends on ACPI_DOCK
 	help
 	  This driver adds support for ACPI controlled removable drive
 	  bays such as the IBM ultrabay or the Dell Module Bay.