From owner-freebsd-hackers Thu Sep 19 10:06:31 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA03290 for hackers-outgoing; Thu, 19 Sep 1996 10:06:31 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA03258 for ; Thu, 19 Sep 1996 10:06:20 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id KAA14404; Thu, 19 Sep 1996 10:04:44 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) by whistle.com via smap (V1.3) id sma014402; Thu Sep 19 10:04:41 1996 Date: Thu, 19 Sep 1996 10:03:07 -0700 (PDT) From: Julian Elischer To: "Eric L. Hernes" cc: Amancio Hasty , hackers@freebsd.org Subject: Re: FreeBSD smc program to set smc card? In-Reply-To: <199609191317.IAA22700@jake.lodgenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk beware.. LINUX has it's arguments teh other way around in teh outb() instructions :) On Thu, 19 Sep 1996, Eric L. Hernes wrote: > Amancio Hasty writes: > > > > > >Hi, > > > >A little while ago there was a small discussion about the > >possibility of writing such code for FreeBSD. So where is it ? 8) > > > > As I remember, someone mentioned that there's some linux utilities > to configure ethernet cards at: > > ftp://cesdis1.gsfc.nasa.gov/pub/linux/setup/ > ftp://sunsite.unc.edu/system/Network/management/ewrk3tools-0.20.tar.gz > wdsetup-0.6a.tar.gz is the smc setup program. > > the following sed script does most of the work to get 'em to compile, > dunno if they run though. I'll try to test the ones I've got hardware > for. > > sed -e 's:ioperm([^)]*):open("/dev/io", O_RDWR):' \ > -e -e 's,asm/io.h,machine/cpufunc.h,' > > > > > > Tnks, > > Amancio > > > > > > > eric. > -- > erich@lodgenet.com > http://rrnet.com/~erich erich@rrnet.com > > >