Date: Thu, 22 Sep 2005 12:48:50 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: freebsd@sopwith.solgatos.com Cc: freebsd-drivers@freebsd.org Subject: Re: Bolting Linux device drivers to FreeBSD kernel? Message-ID: <20050922.124850.48530671.imp@bsdimp.com> In-Reply-To: <200509221751.RAA07579@sopwith.solgatos.com> References: <200509221751.RAA07579@sopwith.solgatos.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200509221751.RAA07579@sopwith.solgatos.com> Dieter <freebsd@sopwith.solgatos.com> writes: : I have found the "project evil" interface for using a wintel : device driver with a FreeBSD kernel. : : But search as I may, I cannot find any information on how to bolt : a Linux device driver to a FreeBSD kernel? Presently, no such generic interface exists to do this that I'm aware of. I've made various attempts in the past to do this. The amount of variation between ABIs of the different Linux releases makes it problematic to support binary Linux drivers on FreeBSD in a good, generic fashion. There's also some minor, but annoying, variation between different vendors of Linux's ABI, but I think those are mostly accidental (read bugs). Souce level compatibility hasn't been something that I've seen done at all. There are a few binary blobs that have been produced that have been made to run on FreeBSD. In these cases, a FreeBSD driver has been written to call into the binary blob. The ltmdm port is one example where this has been done fairly successfully. I've tried to get some binary drivers working on FreeBSD in the past, but ran into a peck of trouble trying to make them work. Mostly because the binary blob turned out to not be linux independent, and it did things that assumed a linux kernel had setup up something in a particular way which was hard to do with FreeBSD... So your milage may vary. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050922.124850.48530671.imp>