* [PATCH net 0/3] net: broadcom: fix FIXED_PHY dependencies
@ 2014-12-15 17:57 Florian Fainelli
2014-12-15 17:57 ` [PATCH net 1/3] net: bcmgenet: always select FIXED_PHY Florian Fainelli
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Florian Fainelli @ 2014-12-15 17:57 UTC (permalink / raw)
To: netdev; +Cc: davem, Florian Fainelli
Hi David,
This patch series removes the bogus "select FIXED_PHY if FOO=y" that I have
been using in GENET, SYSTEMPORT and the SF2 DSA switch driver.
Thanks!
Florian Fainelli (3):
net: bcmgenet: always select FIXED_PHY
net: systemport: always select FIXED_PHY
net: dsa: bcm_sf2: always select FIXED_PHY
drivers/net/dsa/Kconfig | 2 +-
drivers/net/ethernet/broadcom/Kconfig | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
--
2.1.0
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH net 1/3] net: bcmgenet: always select FIXED_PHY
2014-12-15 17:57 [PATCH net 0/3] net: broadcom: fix FIXED_PHY dependencies Florian Fainelli
@ 2014-12-15 17:57 ` Florian Fainelli
2014-12-15 17:57 ` [PATCH net 2/3] net: systemport: " Florian Fainelli
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2014-12-15 17:57 UTC (permalink / raw)
To: netdev; +Cc: davem, Florian Fainelli
There is no need to do the following:
select FIXED_PHY if BCMGENET=y, as this implies that we will not be able
to build and/or run the driver correctly when built as a module, which
is no longer an issue since commit 37e9a6904520 ("net: phy: export
fixed_phy_register()")
Fixes: b0ba512e225d ("net: bcmgenet: enable driver to work without device tree"
Fixes: bdaa53bde55f ("net: bcmgenet: hook into the build system")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/net/ethernet/broadcom/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig
index 888247ad9068..f4789a059d54 100644
--- a/drivers/net/ethernet/broadcom/Kconfig
+++ b/drivers/net/ethernet/broadcom/Kconfig
@@ -64,7 +64,7 @@ config BCMGENET
tristate "Broadcom GENET internal MAC support"
select MII
select PHYLIB
- select FIXED_PHY if BCMGENET=y
+ select FIXED_PHY
select BCM7XXX_PHY
help
This driver supports the built-in Ethernet MACs found in the
--
2.1.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH net 2/3] net: systemport: always select FIXED_PHY
2014-12-15 17:57 [PATCH net 0/3] net: broadcom: fix FIXED_PHY dependencies Florian Fainelli
2014-12-15 17:57 ` [PATCH net 1/3] net: bcmgenet: always select FIXED_PHY Florian Fainelli
@ 2014-12-15 17:57 ` Florian Fainelli
2014-12-15 17:57 ` [PATCH net 3/3] net: dsa: bcm_sf2: " Florian Fainelli
2014-12-16 5:57 ` [PATCH net 0/3] net: broadcom: fix FIXED_PHY dependencies David Miller
3 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2014-12-15 17:57 UTC (permalink / raw)
To: netdev; +Cc: davem, Florian Fainelli
There is no need to do the following:
select FIXED_PHY if SYSTEMPORT=y, as this implies that we will not be able
to build and/or run the driver correctly when built as a module, which
is no longer an issue since commit 37e9a6904520 ("net: phy: export
fixed_phy_register()")
Fixes: a3862db2d3c4 ("net: systemport: hook SYSTEMPORT driver in the build")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/net/ethernet/broadcom/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig
index f4789a059d54..41a3c9804427 100644
--- a/drivers/net/ethernet/broadcom/Kconfig
+++ b/drivers/net/ethernet/broadcom/Kconfig
@@ -155,7 +155,7 @@ config SYSTEMPORT
depends on OF
select MII
select PHYLIB
- select FIXED_PHY if SYSTEMPORT=y
+ select FIXED_PHY
help
This driver supports the built-in Ethernet MACs found in the
Broadcom BCM7xxx Set Top Box family chipset using an internal
--
2.1.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH net 3/3] net: dsa: bcm_sf2: always select FIXED_PHY
2014-12-15 17:57 [PATCH net 0/3] net: broadcom: fix FIXED_PHY dependencies Florian Fainelli
2014-12-15 17:57 ` [PATCH net 1/3] net: bcmgenet: always select FIXED_PHY Florian Fainelli
2014-12-15 17:57 ` [PATCH net 2/3] net: systemport: " Florian Fainelli
@ 2014-12-15 17:57 ` Florian Fainelli
2014-12-16 5:57 ` [PATCH net 0/3] net: broadcom: fix FIXED_PHY dependencies David Miller
3 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2014-12-15 17:57 UTC (permalink / raw)
To: netdev; +Cc: davem, Florian Fainelli
There is no need to do the following:
select FIXED_PHY if NET_DSA_BCM_SF2=y, as this implies that we will not be
able to build and/or run the driver correctly when built as a module,
which is no longer an issue since commit 37e9a6904520 ("net: phy: export
fixed_phy_register()").
Fixes: 246d7f773c13ca ("net: dsa: add Broadcom SF2 switch driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/net/dsa/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig
index 7cf8f4ac281f..48e62a34f7f2 100644
--- a/drivers/net/dsa/Kconfig
+++ b/drivers/net/dsa/Kconfig
@@ -59,7 +59,7 @@ config NET_DSA_BCM_SF2
depends on HAS_IOMEM
select NET_DSA
select NET_DSA_TAG_BRCM
- select FIXED_PHY if NET_DSA_BCM_SF2=y
+ select FIXED_PHY
select BCM7XXX_PHY
select MDIO_BCM_UNIMAC
---help---
--
2.1.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH net 0/3] net: broadcom: fix FIXED_PHY dependencies
2014-12-15 17:57 [PATCH net 0/3] net: broadcom: fix FIXED_PHY dependencies Florian Fainelli
` (2 preceding siblings ...)
2014-12-15 17:57 ` [PATCH net 3/3] net: dsa: bcm_sf2: " Florian Fainelli
@ 2014-12-16 5:57 ` David Miller
3 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2014-12-16 5:57 UTC (permalink / raw)
To: f.fainelli; +Cc: netdev
From: Florian Fainelli <f.fainelli@gmail.com>
Date: Mon, 15 Dec 2014 09:57:12 -0800
> This patch series removes the bogus "select FIXED_PHY if FOO=y" that
> I have been using in GENET, SYSTEMPORT and the SF2 DSA switch
> driver.
Series applied, thanks Florian.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-16 5:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 17:57 [PATCH net 0/3] net: broadcom: fix FIXED_PHY dependencies Florian Fainelli
2014-12-15 17:57 ` [PATCH net 1/3] net: bcmgenet: always select FIXED_PHY Florian Fainelli
2014-12-15 17:57 ` [PATCH net 2/3] net: systemport: " Florian Fainelli
2014-12-15 17:57 ` [PATCH net 3/3] net: dsa: bcm_sf2: " Florian Fainelli
2014-12-16 5:57 ` [PATCH net 0/3] net: broadcom: fix FIXED_PHY dependencies David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox