add support for older kernels

This commit is contained in:
Mario Fetka 2012-10-27 10:56:41 +02:00
parent 75cae710d5
commit 8d19bb772f

View File

@ -491,9 +491,12 @@ _kernel_src_compile() {
K_NASKERNEL_DEVICE="Buffalo Linkstation LiveV3 (LS-CHL)" K_NASKERNEL_DEVICE="Buffalo Linkstation LiveV3 (LS-CHL)"
fi fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_chl2" ]; then if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_chl2" ]; then
#devio > foo 'wl 0xe3a01c0a,4' 'wl 0xe3811067,4' # Linkstation XHL/CHLv2 (2.6.30) if [[ "${KV_MAJOR}${KV_MINOR}" -ge 36 ]]; then
# new Device tree no need for devio # new Device tree no need for devio
K_NASKERNEL_DTB="kirkwood-lschlv2.dtb" K_NASKERNEL_DTB="kirkwood-lschlv2.dtb"
else
devio > foo 'wl 0xe3a01c0a,4' 'wl 0xe3811067,4' # Linkstation XHL/CHLv2 (2.6.30)
fi
K_NASKERNEL_TYPE="buffalo" K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo LS-XHL Series" K_NASKERNEL_DEVICE="Buffalo LS-XHL Series"
fi fi
@ -539,9 +542,12 @@ _kernel_src_compile() {
K_NASKERNEL_DEVICE="Buffalo Linkstation Pro/Live" K_NASKERNEL_DEVICE="Buffalo Linkstation Pro/Live"
fi fi
if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_xhl" ]; then if [ "${K_NASKERNEL_NAME}" = "buffalo_ls_xhl" ]; then
#devio > foo 'wl 0xe3a01c0a,4' 'wl 0xe3811067,4' # Linkstation XHL/CHLv2 (2.6.30) if [[ "${KV_MAJOR}${KV_MINOR}" -ge 36 ]]; then
# new Device tree no need for devio # new Device tree no need for devio
K_NASKERNEL_DTB="kirkwood-lsxhl.dtb" K_NASKERNEL_DTB="kirkwood-lsxhl.dtb"
else
devio > foo 'wl 0xe3a01c0a,4' 'wl 0xe3811067,4' # Linkstation XHL/CHLv2 (2.6.30)
fi
K_NASKERNEL_TYPE="buffalo" K_NASKERNEL_TYPE="buffalo"
K_NASKERNEL_DEVICE="Buffalo LS-XHL Series" K_NASKERNEL_DEVICE="Buffalo LS-XHL Series"
fi fi