Subject: Re: Configuring my Ethernet card.
To: Shrike <shrike@televar.com>
From: Jim Spath (Webmaster Jim) <jspath@mail.bcpl.lib.md.us>
List: port-i386
Date: 03/25/1997 21:09:19
On Tue, 25 Mar 1997, Perry E. Metzger wrote:
> Shrike writes:
> > Just got NetBSD installed on my PC here at work, and am wondering how I
> > would go about configuring my 3Com Ethernet card?
> > I read the Install document and tried:
> > ifconfig ep0 <myIPaddress> netmask 0xffffff00
> > It tells me SIOCGIFFLAGS: Device not configured
> In all likelyhood, during bootup, the kernel did not successfully
> probe an ep0.
> Go through your boot messages (try "dmesg") and look for the ep0
> device. If it isn't there, it means your kernel didn't find it.
> There can be several reasons that this happened, but typically it is
> because the device isn't at the I/O ports and/or addresses and/or IRQ
> expected by the probe.

As an example of what the kernel expects, a 3C503 is expected to be at
port 0x250, 0x280, or 0x300.  The GENERIC kernel config file lines for
that card looks like: 

ed0 at isa? port 0x280 iomem 0xd0000 irq 9  # WD/SMC, 3C503, and NE[12]000
ed1 at isa? port 0x250 iomem 0xd8000 irq 9  #   ethernet cards
ed2 at isa? port 0x300 iomem 0xcc000 irq 10

You need to match you card to the 1st field, and go from there.

------
<http://www.cs.indiana.edu/picons/db/users/us/md/lib/bcpl/jspath/face.xbm>
Marvin the Paranoid Android says:
I could have told you that.