Coda support in NetBSD (-current and netbsd-4 branch) is mostly ok, so you may want to glance at that for reference while working on the FreeBSD support.