Created
March 15, 2021 19:56
-
-
Save Ansuel/b5d8400f0c9f5371af09bad01621409b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/drivers/net/dsa/qca8k.c | |
+++ b/drivers/net/dsa/qca8k.c | |
@@ -1600,7 +1600,8 @@ qca8k_sw_probe(struct mdio_device *mdiodev) | |
id >>= QCA8K_MASK_CTRL_ID_S; | |
id &= QCA8K_MASK_CTRL_ID_M; | |
if (id != data->id) | |
- return -ENODEV; | |
+ pr_info("DETECTED SWITCH ID %d EXPECTED %d", id, data->id); | |
+ // return -ENODEV; | |
priv->ds = devm_kzalloc(&mdiodev->dev, sizeof(*priv->ds), GFP_KERNEL); | |
if (!priv->ds) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment