merge common code from dmf and dmz drivers