<div dir="ltr"><div><div><div>Hello,<br><br></div>So, I don't know on which chips this feature is supported.<br></div>Our chip of interest is the BCM53128.<br></div>Maybe I could first add a "is53128()" function, so that it's only specific to this chip, especially since we want to push more features that we've developed on this particular chip.<br>Then, if others find that it works on other chips, it could be adapted/extended.<br><div><br></div><div>To answer the questions:<br>A port that is marked protected means that it cannot talk to another port that is marked protected.<br></div><div>A protected port can send data to an unprotected port, and unprotected ports can send data to any port.<br></div><div></div><div>This can be adapted into a sort of a security feature.<br></div><div><br>The Broadcom default is for the protected mode to be off in hardware, but our board has this default overridden in hw, because it is required in several of our use-cases.<br><div></div><div>So, unsetting those bits sets the default behaviour, which should not affect normal behaviour.<br></div><div><br></div><div>Maybe I could re-spin this patch, and include a more informative comment ?<br></div><div>Or, if there's no desire for it, we could just drop it.<br></div><div></div><div><br></div><div>Either way, I will send further patches for the b53 driver, and include more informative comments.<br></div><div><div><br></div><div>Thanks<br></div><div>Alex<br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 3:15 PM, Jonas Gorski <span dir="ltr"><<a href="mailto:jogo@openwrt.org" target="_blank">jogo@openwrt.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Feb 13, 2015 at 8:10 PM, Alexandru Ardelean<br>
<<a href="mailto:ardeleanalex@gmail.com">ardeleanalex@gmail.com</a>> wrote:<br>
> From: Helmut Schaa <<a href="mailto:helmut.schaa@googlemail.com">helmut.schaa@googlemail.com</a>><br>
><br>
> Signed-off-by: Helmut Schaa <<a href="mailto:helmut.schaa@googlemail.com">helmut.schaa@googlemail.com</a>><br>
<br>
What does it protect from? Is it available on all supported chips?<br>
What are the use cases of this? Please explain what this bit does and<br>
why we want to (un)set it.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Jonas<br>
</font></span></blockquote></div><br></div>