From owner-freebsd-hackers Wed Oct 23 19:16:39 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA29369 for hackers-outgoing; Wed, 23 Oct 1996 19:16:39 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA29364 for ; Wed, 23 Oct 1996 19:16:35 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id LAA04187; Thu, 24 Oct 1996 11:45:16 +0930 From: Michael Smith Message-Id: <199610240215.LAA04187@genesis.atrad.adelaide.edu.au> Subject: Re: Linux emulation, gethostid() To: terry@lambert.org (Terry Lambert) Date: Thu, 24 Oct 1996 11:45:15 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, hackers@freebsd.org In-Reply-To: <199610232037.NAA10355@phaeton.artisoft.com> from "Terry Lambert" at Oct 23, 96 01:37:08 pm 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 Terry Lambert stands accused of saying: > > > > Do we want an ioctl to get the hardware address? If not, any > > suggestions on a _tidy_ way to get it? > > Check the list archives. The Mathematica "correct method" included > patches to implement the interface without the kernel grubbing. I > am suprised that the patches were not integrated. You mean this one? I'm not surprised : ] Insert into linux_ioctl, in linux_ioctl.c, inside the first switch. ] ] case 0x8927: ] hwaddr[0]=0x00; ] hwaddr[1]=0x00; ] hwaddr[2]=0xc0; ] hwaddr[3]=0x27; ] hwaddr[4]=0xe5; ] hwaddr[5]=0x66; ] return copyout((caddr_t)hwaddr, (caddr_t)args->arg,6); ] No other messages on the subject appear to contain any code at all, but I'll pester Andrew Gallatin and see if he finished the issue. > Terry Lambert -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[