the via drm code depends on some linux-specific code that has not been ported to netbsd yet. you can find drm_sman.h in the mesa-drm "linux-core" subdir. someone needs to port it and any other parts to the "bsd-core" subdir. .mrg.