mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] net: phy: micrel: KSZ9081/KSZ8091: Disable broadcast mode
@ 2016-04-27  7:41 Teresa Remmet
  2016-05-13 10:09 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Teresa Remmet @ 2016-04-27  7:41 UTC (permalink / raw)
  To: barebox

KSZ9081 only supports two phy ids 0x0 and 0x3. 0x0 is also
used as broadcast address. Disable broadcast, so that id 0x0
can be used as unique address on a shared bus.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
---
 drivers/net/phy/micrel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index e8a566d..9a30cb7 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -357,7 +357,7 @@ static struct phy_driver ksphy_driver[] = {
 	.phy_id_mask	= MICREL_PHY_ID_MASK,
 	.drv.name	= "Micrel KSZ8081/91",
 	.features	= (PHY_BASIC_FEATURES | SUPPORTED_Pause),
-	.config_init	= kszphy_config_init,
+	.config_init	= ksz8021_config_init,
 	.config_aneg	= genphy_config_aneg,
 	.read_status	= genphy_read_status,
 }, {
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: phy: micrel: KSZ9081/KSZ8091: Disable broadcast mode
  2016-04-27  7:41 [PATCH] net: phy: micrel: KSZ9081/KSZ8091: Disable broadcast mode Teresa Remmet
@ 2016-05-13 10:09 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2016-05-13 10:09 UTC (permalink / raw)
  To: Teresa Remmet; +Cc: barebox

On Wed, Apr 27, 2016 at 09:41:02AM +0200, Teresa Remmet wrote:
> KSZ9081 only supports two phy ids 0x0 and 0x3. 0x0 is also
> used as broadcast address. Disable broadcast, so that id 0x0
> can be used as unique address on a shared bus.
> 
> Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
> ---
>  drivers/net/phy/micrel.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks. Sorry, this patch slipped through the cracks somehow.

Sascha

> 
> diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
> index e8a566d..9a30cb7 100644
> --- a/drivers/net/phy/micrel.c
> +++ b/drivers/net/phy/micrel.c
> @@ -357,7 +357,7 @@ static struct phy_driver ksphy_driver[] = {
>  	.phy_id_mask	= MICREL_PHY_ID_MASK,
>  	.drv.name	= "Micrel KSZ8081/91",
>  	.features	= (PHY_BASIC_FEATURES | SUPPORTED_Pause),
> -	.config_init	= kszphy_config_init,
> +	.config_init	= ksz8021_config_init,
>  	.config_aneg	= genphy_config_aneg,
>  	.read_status	= genphy_read_status,
>  }, {
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-13 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-27  7:41 [PATCH] net: phy: micrel: KSZ9081/KSZ8091: Disable broadcast mode Teresa Remmet
2016-05-13 10:09 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox