All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] net: dsa: microchip: enable module autoprobe
@ 2020-02-07 15:44 Codrin Ciubotariu
  2020-02-07 17:46 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Codrin Ciubotariu @ 2020-02-07 15:44 UTC (permalink / raw)
  To: netdev, linux-kernel
  Cc: woojung.huh, UNGLinuxDriver, andrew, vivien.didelot, f.fainelli,
	davem, Razvan Stefanescu, Codrin Ciubotariu

From: Razvan Stefanescu <razvan.stefanescu@microchip.com>

This matches /sys/devices/.../spi1.0/modalias content.

Fixes: 9b2d9f05cddf ("net: dsa: microchip: add ksz9567 to ksz9477 driver")
Fixes: d9033ae95cf4 ("net: dsa: microchip: add KSZ8563 compatibility string")
Fixes: 8c29bebb1f8a ("net: dsa: microchip: add KSZ9893 switch support")
Fixes: 45316818371d ("net: dsa: add support for ksz9897 ethernet switch")
Fixes: b987e98e50ab ("dsa: add DSA switch driver for Microchip KSZ9477")
Signed-off-by: Razvan Stefanescu <razvan.stefanescu@microchip.com>
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
---

Perhaps it is worth mentioning that the original file with the driver
was renamed in:
74a7194f15b3 ("net: dsa: microchip: rename ksz_spi.c to ksz9477_spi.c")

Changes in v3:
 - added multiple 'Fixes' tags;
 - add 'Reviewed-by' tag from Andrew;

Changes in v2:
 - added alias for all the variants of this driver

 drivers/net/dsa/microchip/ksz9477_spi.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/net/dsa/microchip/ksz9477_spi.c b/drivers/net/dsa/microchip/ksz9477_spi.c
index c5f64959a184..1142768969c2 100644
--- a/drivers/net/dsa/microchip/ksz9477_spi.c
+++ b/drivers/net/dsa/microchip/ksz9477_spi.c
@@ -101,6 +101,12 @@ static struct spi_driver ksz9477_spi_driver = {
 
 module_spi_driver(ksz9477_spi_driver);
 
+MODULE_ALIAS("spi:ksz9477");
+MODULE_ALIAS("spi:ksz9897");
+MODULE_ALIAS("spi:ksz9893");
+MODULE_ALIAS("spi:ksz9563");
+MODULE_ALIAS("spi:ksz8563");
+MODULE_ALIAS("spi:ksz9567");
 MODULE_AUTHOR("Woojung Huh <Woojung.Huh@microchip.com>");
 MODULE_DESCRIPTION("Microchip KSZ9477 Series Switch SPI access Driver");
 MODULE_LICENSE("GPL");
-- 
2.20.1


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

* Re: [PATCH v3] net: dsa: microchip: enable module autoprobe
  2020-02-07 15:44 [PATCH v3] net: dsa: microchip: enable module autoprobe Codrin Ciubotariu
@ 2020-02-07 17:46 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-02-07 17:46 UTC (permalink / raw)
  To: codrin.ciubotariu
  Cc: netdev, linux-kernel, woojung.huh, UNGLinuxDriver, andrew,
	vivien.didelot, f.fainelli, razvan.stefanescu

From: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Date: Fri, 7 Feb 2020 17:44:04 +0200

> From: Razvan Stefanescu <razvan.stefanescu@microchip.com>
> 
> This matches /sys/devices/.../spi1.0/modalias content.
> 
> Fixes: 9b2d9f05cddf ("net: dsa: microchip: add ksz9567 to ksz9477 driver")
> Fixes: d9033ae95cf4 ("net: dsa: microchip: add KSZ8563 compatibility string")
> Fixes: 8c29bebb1f8a ("net: dsa: microchip: add KSZ9893 switch support")
> Fixes: 45316818371d ("net: dsa: add support for ksz9897 ethernet switch")
> Fixes: b987e98e50ab ("dsa: add DSA switch driver for Microchip KSZ9477")
> Signed-off-by: Razvan Stefanescu <razvan.stefanescu@microchip.com>
> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Applied and queued up for -stable, thank you.

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

end of thread, other threads:[~2020-02-07 17:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07 15:44 [PATCH v3] net: dsa: microchip: enable module autoprobe Codrin Ciubotariu
2020-02-07 17:46 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.