From owner-freebsd-hackers Thu Oct 24 10:35:41 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA08267 for hackers-outgoing; Thu, 24 Oct 1996 10:35:41 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA08254 for ; Thu, 24 Oct 1996 10:35:35 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id KAA12251; Thu, 24 Oct 1996 10:28:56 -0700 From: Terry Lambert Message-Id: <199610241728.KAA12251@phaeton.artisoft.com> Subject: Re: Linux emulation, gethostid() To: joerg_wunsch@uriah.heep.sax.de Date: Thu, 24 Oct 1996 10:28:56 -0700 (MST) Cc: freebsd-hackers@FreeBSD.org, msmith@atrad.adelaide.edu.au In-Reply-To: <199610240715.JAA01773@uriah.heep.sax.de> from "J Wunsch" at Oct 24, 96 09:15:52 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > > What do you need it for in an LKM? > > > > Note the original topic; what I am trying to do is provide a means for > > emulating the Linux ioctl used for getting the ethernet hardware address. > > And i tried you to prove that there's no actual need for getting the > _ethernet_ hardware address. You can put all the ethernet (or > whatever) stuff into userland, to be run at /etc/rc time. Inside the > kernel, there's the kernel-internal `hostid' variable available > anyway, or you can alternatively wrap Linux' gethostid() around BSD's > ogethostid() syscall. Bletch. It should be available in the kernel environment, even if you don't like the use to which he wants to put it. What if he were writing a protocol module instead? What if he already has a license that depends on the card under Linux, and he wants to change his machine over to FreeBSD and not have to buy a new license? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.