Date: Thu, 12 Jul 2001 20:44:03 -0700 From: Mike Smith <msmith@freebsd.org> To: "Denis I. Timofeev" <timofeev@granch.ru> Cc: net@freebsd.org Subject: Re: (forw) Re: A question about submitting new drivers Message-ID: <200107130344.f6D3i9003496@mass.dis.org> In-Reply-To: Your message of "Thu, 12 Jul 2001 22:14:58 CDT." <20010712221458.H6664@sneakerz.org>
next in thread | previous in thread | raw e-mail | index | archive | help
It doesn't actually make a lot of sense to bundle a driver like this with FreeBSD; none of the developers are going to be able to test against it, and your customers are typically going to be running against the -stable branch anyway. Personally, I would recommend a driver like this be built and distributed as a KLD; it's fairly easy to package so that you can unpack and build under /sys/modules (just put everything in the module directory). You can also ship pre-build KLDs, making runtime loading of the driver very straightforward. Just put the kld in /modules, and ensure that it's named appropriately (if_snbi.ko). ifconfig will load it automatically on the first attempt to configure the interface. I note that you've made some modifications to the kernel MIB. You'd probably want to keep a private copy of these mods for your driver's internal use. The ifconfig changes were meant to make it easier for folks like yourselves to provide network interface drivers without having to integrate them tightly with the kernel tree; let me know if we're still falling short... Regards, Mike -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107130344.f6D3i9003496>