Submitted by: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>, Gea-Suan Lin <gslin@gslin.org> PR: ports/100970, ports/100984