using macros to bridge some driver output calls, fixed option processing of ptypkt
merge