View Single Post
  #8   (View Single Post)  
Old 22nd January 2009
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 110
Default

Quote:
Originally Posted by phoenix View Post
You can't just drop a driver source package in the kernel source tree and hope it compiles and works. Nor can you drop a binary driver on the filesystem and expect it to load into the kernel (the modules framework is very different between Linux and FreeBSD).

If it's not listed in the ports tree, then probably not. Check the output of:
Code:
# cd /usr/ports
# make quicksearch name=kmod
to see which drivers and other Linux "modules" are known to work. Most of them, though, as for USB web cameras.
The driver I'm talking about is the rtl8187b one which is included in the 2.6.27 kernel, which means that I'm not "dropping" it into the linux kernel, it's already in it (that driver was put in mainline linux kernel by the time of the 2.6.27 release). But if it exist in the BSD kernel (unlikelly) or if ndisgen can handle vista drivers (also unlikelly) then I might be able to use it native or via ndisgen.
Reply With Quote