From owner-freebsd-hackers Thu Sep 19 06:18:33 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA26801 for hackers-outgoing; Thu, 19 Sep 1996 06:18:33 -0700 (PDT) Received: from bacall.lodgenet.com (bacall.lodgenet.com [205.138.147.242]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA26757 for ; Thu, 19 Sep 1996 06:18:29 -0700 (PDT) Received: (from mail@localhost) by bacall.lodgenet.com (8.6.12/8.6.12) id IAA11956; Thu, 19 Sep 1996 08:16:40 -0500 Received: from garbo.lodgenet.com(204.124.123.250) by bacall via smap (V1.3) id sma011950; Thu Sep 19 08:16:34 1996 Received: from jake.lodgenet.com (jake.lodgenet.com [204.124.120.30]) by garbo.lodgenet.com (8.6.12/8.6.9) with ESMTP id IAA20856; Thu, 19 Sep 1996 08:17:25 -0500 Received: from localhost (localhost [127.0.0.1]) by jake.lodgenet.com (8.7.5/8.6.12) with SMTP id IAA22700; Thu, 19 Sep 1996 08:17:17 -0500 (CDT) Message-Id: <199609191317.IAA22700@jake.lodgenet.com> X-Authentication-Warning: jake.lodgenet.com: Host localhost [127.0.0.1] didn't use HELO protocol X-Mailer: exmh version 1.6.2 7/18/95 To: Amancio Hasty cc: hackers@freebsd.org Subject: Re: FreeBSD smc program to set smc card? In-reply-to: Your message of "Wed, 18 Sep 1996 16:25:19 PDT." <199609182325.QAA00379@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Sep 1996 08:17:17 -0500 From: "Eric L. Hernes" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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