bugfix: the driver did not pass the -1 fd argument to mmap(), which led to the "Invalid argument" error at least on FreeBSD.
Merge pull request #1 from agentzh/master

Fixing invalid fd argument to mmap()