summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc
blob: 57bf6e2a468dd31559da93a6056c7ee438fca231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh
#
# Copyright (C) 2007 OpenWrt.org
#
#

. /lib/brcm63xx.sh

do_fixcrc() {
	mtd fixtrx linux
}

case "$(brcm63xx_board_name)" in
	a4001n |\
	a4001n1 |\
	ar-5381u |\
	ar-5387un |\
	bcm96328avng |\
	bcm963281tan |\
	cpva502p |\
	cpva642 |\
	ct-6373 |\
	dsl-274xb-f |\
	evg2000 |\
	hg622 |\
	magic |\
	p870hw-51a_v2 |\
	r1000h |\
	r5010un_v2 |\
	rta770bw |\
	rta770w |\
	spw303v |\
	v2110 |\
	v2500v_bb |\
	vh4032n |\
	vr-3025u |\
	vr-3025un |\
	vr-3026e |\
	wap-5813n)
		do_fixcrc
		;;
esac