| From 923ff073e6e5614ca8302bc39e8ec396b3f86028 Mon Sep 17 00:00:00 2001 |
| From: Antoine Tenart <antoine.tenart@bootlin.com> |
| Date: Wed, 26 Feb 2020 16:26:50 +0100 |
| Subject: [PATCH] net: phy: mscc: fix firmware paths |
| |
| commit c87a9d6fc6d555e4981f2ded77d9a8cce950743e upstream. |
| |
| The firmware paths for the VSC8584 PHYs not not contain the leading |
| 'microchip/' directory, as used in linux-firmware, resulting in an |
| error when probing the driver. This patch fixes it. |
| |
| Fixes: a5afc1678044 ("net: phy: mscc: add support for VSC8584 PHY") |
| Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> |
| Reviewed-by: Andrew Lunn <andrew@lunn.ch> |
| Signed-off-by: David S. Miller <davem@davemloft.net> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/net/phy/mscc.c b/drivers/net/phy/mscc.c |
| index 645d354ffb48..8b89ac069011 100644 |
| --- a/drivers/net/phy/mscc.c |
| +++ b/drivers/net/phy/mscc.c |
| @@ -302,11 +302,11 @@ enum rgmii_rx_clock_delay { |
| BIT(VSC8531_FORCE_LED_OFF) | \ |
| BIT(VSC8531_FORCE_LED_ON)) |
| |
| -#define MSCC_VSC8584_REVB_INT8051_FW "mscc_vsc8584_revb_int8051_fb48.bin" |
| +#define MSCC_VSC8584_REVB_INT8051_FW "microchip/mscc_vsc8584_revb_int8051_fb48.bin" |
| #define MSCC_VSC8584_REVB_INT8051_FW_START_ADDR 0xe800 |
| #define MSCC_VSC8584_REVB_INT8051_FW_CRC 0xfb48 |
| |
| -#define MSCC_VSC8574_REVB_INT8051_FW "mscc_vsc8574_revb_int8051_29e8.bin" |
| +#define MSCC_VSC8574_REVB_INT8051_FW "microchip/mscc_vsc8574_revb_int8051_29e8.bin" |
| #define MSCC_VSC8574_REVB_INT8051_FW_START_ADDR 0x4000 |
| #define MSCC_VSC8574_REVB_INT8051_FW_CRC 0x29e8 |
| |
| -- |
| 2.7.4 |
| |