Please take a look at the article on Contributing to FreeBSD to learn how to submit code.
And thanks for the thought!