*BSD News Article 74907


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!hunter.premier.net!news.cais.net!news2.digex.net!howland.reston.ans.net!sol.ctr.columbia.edu!sirius.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: SMC 8416
Date: 28 Jul 1996 16:58:11 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 54
Message-ID: <4tg673$chc@sol.ctr.columbia.edu>
References: <4teg3e$8u4@soggy.eis.net.au>
NNTP-Posting-Host: sirius.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, Ernie Elu
(ernie@eis.net.au) had the courage to say:

: Anyone gotten an SMC 8416 ethernet card running under FreeBSD?

Yes, I do. I'm using it with FreeBSD 2.0.5 no less (I tweaked the
2.0.5 ed0 driver a bit to support it.)

: the ed0 drive detects its after I recompiled the kernel with the ed0 drive
: set to irq10 prort 0x260 and address 0xcc000 which seem to be the dafault
: for the card. Trouble is I cant seem to ifconfig it after that.

Don't say 'I can't seem to do X.' Say 'I typed X, and I got an error
message that said Y.' And don't say 'I can't remember the error message.'
Write it down.

Anyway:

FreeBSD 2.0.5-RELEASE #0: Tue Oct  3 18:44:48 EDT 1995
    wpaul@skynet:/usr/src/sys/compile/SKYNET
CPU: i386DX (386-class CPU)
real memory  = 4194304 (1024 pages)
avail memory = 3354624 (819 pages)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x340-0x35f irq 10 maddr 0xe8000 msize 8192 on isa
ed0: address 00:00:c0:12:ce:b2, type SMC8416C/SMC8416BT (16 bit) 
bpf: ed0 attached
[...]

First of all, you don't need to recompile the kernel (though I did
for this machine for other reasons). All you need to do is boot with
the -c flag and then change the port, irq and iomem settings for ed0.

Second, it's important that you use the EZsetup program that comes
with the card to turn off plug & play mode. Once you do this, the
card should work very nicely. There should have been a floppy packaged
with the card containing the setup program (which you need to run in
DOS, unfortunately). If you don't have it, you should be able to FTP
a copy from ftp.smc.com.

Hope this helps.

-Bill

--
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
 "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you."
=============================================================================