This is imported code from FreeBSD; using -Werror here doesn't make much sense. Most of the lines were commented out anyway. Lines for native drivers left alone, of course.