Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA13906; Sat, 2 Dec 95 05:10:39 EST
Received: from freefall.FreeBSD.ORG by MIT.EDU with SMTP
	id AA11635; Sat, 2 Dec 95 05:09:35 EST
Received: from localhost (daemon@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id AAA06307
          ; Sat, 2 Dec 1995 00:49:21 -0800
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id AAA06042
          for hackers-outgoing; Sat, 2 Dec 1995 00:44:48 -0800
Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id AAA06030
          for <hackers@FreeBSD.ORG>; Sat, 2 Dec 1995 00:44:37 -0800
Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id TAA21342; Sat, 2 Dec 1995 19:16:26 GMT
From: Michael Smith <msmith@atrad.adelaide.edu.au>
Message-Id: <199512021916.TAA21342@genesis.atrad.adelaide.edu.au>
Subject: Re: ethernet card configuration programs
To: archie@tribe.com (Archie Cobbs)
Date: Sat, 2 Dec 1995 19:16:26 +0000 ()
Cc: erich@lodgenet.com, hackers@FreeBSD.org
In-Reply-To: <199512020606.WAA07343@bubba.tribe.com> from "Archie Cobbs" at Dec 1, 95 10:05:59 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1052      
Sender: owner-hackers@FreeBSD.org
Precedence: bulk

Archie Cobbs stands accused of saying:
> Would it be possible for someone to port these to FreeBSD? This
> would be great because I always have to boot DOS to run the stupid
> config program for NE2000 compatible cards... for some reason the
> default card configuration and the default FreeBSD "ed1" configuration
> don't agree.

userconfig (boot: -c) helps there.

> I don't know what the equivalent/substitute for #include <asm/io.h>
> would be... but it looks like it shouldn't be too difficult
> since the programs are very short.

#include <machine/cpufunc.h> is the most likely candidate.  Remeber to open
/dev/io first, or your program will be killed.

> -Archie


-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 041-122-496        [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] "Who does BSD?" "We do Chucky, we do."                               [[
