Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ravb: remove R-Car H3 ES1.* handling

R-Car H3 ES1.* was only available to an internal development group and
needed a lot of quirks and workarounds. These become a maintenance
burden now, so our development group decided to remove upstream support
and disable booting for this SoC. Public users only have ES2 onwards.

Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/all/20230307163041.3815-8-wsa+renesas@sang-engineering.com/
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Wolfram Sang and committed by
Jakub Kicinski
6bf0ad7f ed69e066

-15
-15
drivers/net/ethernet/renesas/ravb_main.c
··· 28 28 #include <linux/pm_runtime.h> 29 29 #include <linux/slab.h> 30 30 #include <linux/spinlock.h> 31 - #include <linux/sys_soc.h> 32 31 #include <linux/reset.h> 33 32 #include <linux/math64.h> 34 33 ··· 1389 1390 phy_print_status(phydev); 1390 1391 } 1391 1392 1392 - static const struct soc_device_attribute r8a7795es10[] = { 1393 - { .soc_id = "r8a7795", .revision = "ES1.0", }, 1394 - { /* sentinel */ } 1395 - }; 1396 - 1397 1393 /* PHY init function */ 1398 1394 static int ravb_phy_init(struct net_device *ndev) 1399 1395 { ··· 1426 1432 netdev_err(ndev, "failed to connect PHY\n"); 1427 1433 err = -ENOENT; 1428 1434 goto err_deregister_fixed_link; 1429 - } 1430 - 1431 - /* This driver only support 10/100Mbit speeds on R-Car H3 ES1.0 1432 - * at this time. 1433 - */ 1434 - if (soc_device_match(r8a7795es10)) { 1435 - phy_set_max_speed(phydev, SPEED_100); 1436 - 1437 - netdev_info(ndev, "limited PHY to 100Mbit/s\n"); 1438 1435 } 1439 1436 1440 1437 if (!info->half_duplex) {