Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 1995 19:16:26 +0000 ()
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        archie@tribe.com (Archie Cobbs)
Cc:        erich@lodgenet.com, hackers@FreeBSD.ORG
Subject:   Re: ethernet card configuration programs
Message-ID:  <199512021916.TAA21342@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199512020606.WAA07343@bubba.tribe.com> from "Archie Cobbs" at Dec 1, 95 10:05:59 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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."                               [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512021916.TAA21342>