Просмотр исходного кода

bcm53xx: fix "typo" in b53 patch fixing R8000 CPU port

Signed-off-by: Rafał Miłecki <[email protected]>

SVN-Revision: 45683
Rafał Miłecki 10 лет назад
Родитель
Сommit
afb98aea4d

+ 2 - 2
target/linux/bcm53xx/patches-3.18/710-b53-add-hacky-CPU-port-fix-for-Netgear-R8000.patch

@@ -24,8 +24,8 @@ index 2b05d5d..525103c 100644
  	}
  	}
  
  
 +	if (of_flat_dt_is_compatible(of_get_flat_dt_root(),
 +	if (of_flat_dt_is_compatible(of_get_flat_dt_root(),
-+				     "buffalo,wzr-600dhp2"))
-+		sw_dev->cpu_port = 7;
++				     "netgear,r8000"))
++		sw_dev->cpu_port = 8;
 +
 +
  	/* cpu port is always last */
  	/* cpu port is always last */
  	sw_dev->ports = sw_dev->cpu_port + 1;
  	sw_dev->ports = sw_dev->cpu_port + 1;