From owner-freebsd-net Thu Jul 12 20:30:35 2001 Delivered-To: freebsd-net@freebsd.org Received: from mass.dis.org (cust-P5-R10-109.POOL.ESR.SJO.wwc.com [206.112.121.109]) by hub.freebsd.org (Postfix) with ESMTP id 187E737B432 for ; Thu, 12 Jul 2001 20:30:18 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.4/8.11.3) with ESMTP id f6D3i9003496; Thu, 12 Jul 2001 20:44:15 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200107130344.f6D3i9003496@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Denis I. Timofeev" Cc: net@freebsd.org Subject: Re: (forw) Re: A question about submitting new drivers In-reply-to: Your message of "Thu, 12 Jul 2001 22:14:58 CDT." <20010712221458.H6664@sneakerz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 12 Jul 2001 20:44:03 -0700 From: Mike Smith Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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