order the baffalo detection in alphabetic order

This commit is contained in:
Mario Fetka 2011-12-31 21:33:59 +01:00
parent 81aa85bee6
commit eff4ab1ba1

View File

@ -557,12 +557,32 @@ _kernel_src_compile() {
# Buffalo anounced a new box named Pro Live (video transcode streaming) # Buffalo anounced a new box named Pro Live (video transcode streaming)
# so the old ls_pro_live has to be split to ls_pro ls_live # so the old ls_pro_live has to be split to ls_pro ls_live
# for now let it stay but a move schould be done to ls_pro # for now let it stay but a move schould be done to ls_pro
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_pro" ]; then if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_chl" ]; then
devio > foo 'wl 0xe3a01c0B,4' 'wl 0xe3811061,4' # Linkstation Live V3 (2.6.34)
K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo Linkstation LiveV3 (LS-CHL)"
fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_chl2" ]; then
devio > foo 'wl 0xe3a01c0a,4' 'wl 0xe3811067,4' # Linkstation XHL/CHLv2 (2.6.30)
K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo LS-XHL Series"
fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_hgl" ]; then
devio > foo 'wl 0xe3a01c07,4' 'wl 0xe38110d5,4' # Linkstation HGL (2.6.31)
K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo Linkstation LS-HGL"
fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_live" ]; then
devio > foo 'wl 0xe3a01c06,4' 'wl 0xe3811031,4' # Linkstation Pro/Live (2.6.26) devio > foo 'wl 0xe3a01c06,4' 'wl 0xe3811031,4' # Linkstation Pro/Live (2.6.26)
K_NASKERNEL_TYPE="buffalo" K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo Linkstation Pro/Live" K_NASKERNEL_DEVICE="Buffalo Linkstation Pro/Live"
fi fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_live" ]; then if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_mini" ]; then
devio > foo 'wl 0xe3a01c07,4' 'wl 0xe3811042,4' # Linkstation mini (2.6.29)
K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo Linkstation Mini"
fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_pro" ]; then
devio > foo 'wl 0xe3a01c06,4' 'wl 0xe3811031,4' # Linkstation Pro/Live (2.6.26) devio > foo 'wl 0xe3a01c06,4' 'wl 0xe3811031,4' # Linkstation Pro/Live (2.6.26)
K_NASKERNEL_TYPE="buffalo" K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo Linkstation Pro/Live" K_NASKERNEL_DEVICE="Buffalo Linkstation Pro/Live"
@ -577,20 +597,10 @@ _kernel_src_compile() {
K_NASKERNEL_TYPE="buffalo" K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo Linkstation Pro Duo - Revision 2" K_NASKERNEL_DEVICE="Buffalo Linkstation Pro Duo - Revision 2"
fi fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_xhl" ]; then if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_vl" ]; then
devio > foo 'wl 0xe3a01c0a,4' 'wl 0xe3811067,4' # Linkstation XHL/CHLv2 (2.6.30) devio > foo 'wl 0xe3a01c0d,4' 'wl 0xe381100a,4' # Linkstation vl (2.6.35)
K_NASKERNEL_TYPE="buffalo" K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo LS-XHL Series" K_NASKERNEL_DEVICE="Buffalo LS-VL Series"
fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_chl2" ]; then
devio > foo 'wl 0xe3a01c0a,4' 'wl 0xe3811067,4' # Linkstation XHL/CHLv2 (2.6.30)
K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo LS-XHL Series"
fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_chl" ]; then
devio > foo 'wl 0xe3a01c0B,4' 'wl 0xe3811061,4' # Linkstation Live V3 (2.6.34)
K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo Linkstation LiveV3 (LS-CHL)"
fi fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_wxl" ]; then if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_wxl" ]; then
devio > foo 'wl 0xe3a01c0b,4' 'wl 0xe38110c4,4' # Linkstation WXL (2.6.35) devio > foo 'wl 0xe3a01c0b,4' 'wl 0xe38110c4,4' # Linkstation WXL (2.6.35)
@ -598,20 +608,10 @@ _kernel_src_compile() {
# Broken hardware name needs to be correct in u-boot firmware # Broken hardware name needs to be correct in u-boot firmware
K_NASKERNEL_DEVICE="Buffalo Linkstation Pro/Live" K_NASKERNEL_DEVICE="Buffalo Linkstation Pro/Live"
fi fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_hgl" ]; then if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_xhl" ]; then
devio > foo 'wl 0xe3a01c07,4' 'wl 0xe38110d5,4' # Linkstation HGL (2.6.31) devio > foo 'wl 0xe3a01c0a,4' 'wl 0xe3811067,4' # Linkstation XHL/CHLv2 (2.6.30)
K_NASKERNEL_TYPE="buffalo" K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo Linkstation LS-HGL" K_NASKERNEL_DEVICE="Buffalo LS-XHL Series"
fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_mini" ]; then
devio > foo 'wl 0xe3a01c07,4' 'wl 0xe3811042,4' # Linkstation mini (2.6.29)
K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo Linkstation Mini"
fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_vl" ]; then
devio > foo 'wl 0xe3a01c0d,4' 'wl 0xe381100a,4' # Linkstation vl (2.6.35)
K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo LS-VL Series"
fi fi
# Buffalo Boxes have a special naming and start address # Buffalo Boxes have a special naming and start address