X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/128434cb236523f4cec881622b8606cb1533b677..21a96eeb47f963f2adeb613a9d757e24f4e9c281:/package/broadcom-57xx/src/bcmrobo.c?ds=sidebyside diff --git a/package/broadcom-57xx/src/bcmrobo.c b/package/broadcom-57xx/src/bcmrobo.c index 72824f6f6..7a5434b50 100644 --- a/package/broadcom-57xx/src/bcmrobo.c +++ b/package/broadcom-57xx/src/bcmrobo.c @@ -788,13 +788,6 @@ bcm_robo_attach(sb_t *sbh, void *h, char *name, char *vars, miird_f miird, miiwr sb_gpioouten(robo->sbh, reset, reset, GPIO_DRV_PRIORITY); bcm_mdelay(50); - if (robo->devid == DEVID5395) - nvram_set("switch_type", "BCM5395"); - else if(robo->devid == DEVID5397) - nvram_set("switch_type", "BCM5397"); - else - nvram_set("switch_type", "unknown"); - /* Keep RESET high for at least 20 ms */ sb_gpioout(robo->sbh, reset, reset, GPIO_DRV_PRIORITY); bcm_mdelay(20);