Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 1995 23:15:32 -0800 (PST)
From:      Julian Elischer <julian@ref.tfs.com>
To:        archie@tribe.com (Archie Cobbs)
Cc:        erich@lodgenet.com, hackers@FreeBSD.ORG
Subject:   Re: ethernet card configuration programs
Message-ID:  <199512020715.XAA01029@ref.tfs.com>
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
> 
> 
> > this is a linux web page with sources for ethernet
> > card configuration.  I've compiled the 3c509, but
> > I haven't tested it yet.
> > 
> > http://cesdis.gsfc.nasa.gov/linux/diag/diagnostic.html
> > 
> > eric.
> > --
> > erich@lodgenet.com
> > erich@rrnet.com
> 
> 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.
> 
> 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>

you have to open /dev/io to get permissions to do inb() and outb()
instructions..
otherwise it should just about compile...



> 
> -Archie
> 
> _______________________________________________________________________________
> Archie L. Cobbs, archie@tribe.com  *  Tribe Computer Works http://www.tribe.com
> 




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