Add more improvements for dummy driver.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>