Skip to content
Snippets Groups Projects
Commit 31d35330 authored by Sukru Senli's avatar Sukru Senli
Browse files

brcm63xx: read socinfo from /proc/socinfo

parent 1d0e80e5
Branches
No related tags found
No related merge requests found
......@@ -19,9 +19,9 @@ bs_init() {
# experience delays when establishing a new connection.
syn_flood() {
soc=$(brcm_fw_tool -k info)
soc=$(cat /proc/socinfo | grep 'SoC Name' | cut -d':' -f2)
case $soc in
63155)
BCM63155)
sir=30000
;;
*)
......
......@@ -23,9 +23,9 @@ boot() {
if [ -n "$(which tmctl)" ]; then
local flag=0
local cpu="$(brcm_fw_tool -k info)"
local cpu="$(cat /proc/socinfo | grep 'SoC Name' | cut -d':' -f2)"
case $cpu in
6315?) flag=1 ;;
BCM6315?) flag=1 ;;
esac
# Initialize all interfaces without creating any queues.
for interf in $(db -q get hw.board.ethernetPortOrder); do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment