[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200708151546.10771.mb@bu3sch.de>
Date: Wed, 15 Aug 2007 15:46:10 +0200
From: Michael Buesch <mb@...sch.de>
To: John Linville <linville@...driver.com>
Cc: netdev@...r.kernel.org
Subject: b44: Fix Kconfig dependencies by using select
Signed-off-by: Michael Buesch <mb@...sch.de>
Index: wireless-dev-new/drivers/net/Kconfig
===================================================================
--- wireless-dev-new.orig/drivers/net/Kconfig 2007-08-11 00:49:28.000000000 +0200
+++ wireless-dev-new/drivers/net/Kconfig 2007-08-15 15:29:36.000000000 +0200
@@ -1454,7 +1454,7 @@ config APRICOT
config B44
tristate "Broadcom 440x/47xx ethernet support"
- depends on HAS_IOMEM
+ depends on SSB_POSSIBLE
select SSB
select MII
help
@@ -1462,27 +1462,28 @@ config B44
or M and read the Ethernet-HOWTO, available from
<http://www.tldp.org/docs.html#howto>.
- If you have a Broadcom 440x PCI device (and if you don't
- know, you _do_ have one) you must also select the options
- "EISA, VLB, PCI and on board controllers" above and
- "Broadcom 440x PCI device support" below.
-
To compile this driver as a module, choose M here and read
<file:Documentation/networking/net-modules.txt>. The module will be
called b44.
-config B44_PCI
- bool "Broadcom 440x PCI device support"
- depends on B44 && NET_PCI
+# Auto-select SSB PCI-HOST support, if possible
+config B44_PCI_AUTOSELECT
+ bool
+ depends on B44 && SSB_PCIHOST_POSSIBLE
select SSB_PCIHOST
+ default y
+
+# Auto-select SSB PCICORE driver, if possible
+config B44_PCICORE_AUTOSELECT
+ bool
+ depends on B44 && SSB_DRIVER_PCICORE_POSSIBLE
select SSB_DRIVER_PCICORE
default y
- help
- Support for Broadcom 440x PCI devices.
- Say Y, unless you know what you are doing.
- If you say N here I will _not_ listen to your
- bugreports!
+config B44_PCI
+ bool
+ depends on B44_PCI_AUTOSELECT && B44_PCICORE_AUTOSELECT
+ default y
config FORCEDETH
tristate "nForce Ethernet support"
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists