It looks like you can find the freebsd driver as multiple files at http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/mlx/
but it may not be much better. mlx.c, which I assume is the main part of the driver, is just over 3,000 lines.
It looks like you can find the freebsd driver as multiple files at http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/mlx/
but it may not be much better. mlx.c, which I assume is the main part of the driver, is just over 3,000 lines.