projects
/
openwrt
/
staging
/
kaloz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
938a8c4
)
brcm-2.4: nvram_set has been removed, remove some remaining calls to it
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 May 2009 20:02:17 +0000
(20:02 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 May 2009 20:02:17 +0000
(20:02 +0000)
SVN-Revision: 15878
package/broadcom-57xx/src/bcmrobo.c
patch
|
blob
|
history
diff --git
a/package/broadcom-57xx/src/bcmrobo.c
b/package/broadcom-57xx/src/bcmrobo.c
index 72824f6f627652c21be5a425f43a84a3bce55ff0..7a5434b506e1e7b5473ca0bfa33c0e47f26ccf1b 100644
(file)
--- 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);