*BSD News Article 77397


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!odin.oar.net!malgudi.oar.net!news.apk.net!sed.psrw.com!psinntp	!psinntp!psinntp!howland.erols.net!newsfeed.internetmci.com!in3.uu.net!newsfeed.pitt.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!woferry+
From: William O Ferry <WOFerry+@CMU.EDU>
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.bsd.netbsd.misc
Subject: Re: SMC 8013BT EEPROM parameters lost
Date: Tue,  3 Sep 1996 20:31:21 -0400
Organization: Junior, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA
Lines: 42
Message-ID: <4m=ArNS00WBMA5QZ9T@andrew.cmu.edu>
References: <50f1io$5ug@mozo.cc.purdue.edu>
NNTP-Posting-Host: po2.andrew.cmu.edu
In-Reply-To: <50f1io$5ug@mozo.cc.purdue.edu>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:26520 comp.unix.bsd.netbsd.misc:4522

Figured I might as well post it again, since it's expired (at least on
my server).

Here's a fix using DOS "debug" (make sure your card is currently set to
base address 0x300, or this won't work)  Also, hope you remember your
HW address...  =)

Fire up DOS debug.  Examine memory values 0x308-0x30d (to display the
contents of 0x308, use the command "i 308", and so on.  If any of these
don't match your "correct" hardware address, write the correct value,
using the command "i 308 0x00", for example.  The 7th byte (0x30e) is
your "board identifier", which can be found in
/usr/src/sys/dev/isa/if_edreg.h (around line 200).  My card (WD 8013WC),
an EtherCard PLUS Elite 16T, is 0x28.  Update it if it's wrong.  The
final byte (0x30f) is a checksum, and should be the value that when
summed with the other 7 bytes will result (modded) to the byte 0xFF. 
Once everything checks out, show the byte at 0x301.  Whatever this value
is (I believe mine was 0x05), add 0x80 to it, write that value, and then
set it back to it's original (this saves your changes to the EPROM). 
Your card should be okay after this (at least it should be visible by
the SMC utilities...  =).

    Hope this helps.  Hope that was semi-clear, too.  If anybody needs
any clarifications (I tried to keep it short), feel free to email me. 
Good luck!

                                                    Will Ferry



Excerpts from netnews.comp.unix.bsd.netbsd.misc: 2-Sep-96 SMC 8013BT
EEPROM parameter.. by Clarence Wilkerson@rolle 
> My ethernet eeprom was wiped by a bad device probe in
> a failed install attempt a few months ago. I put the
> card aside and used an older model.
>  
> Now I want to revive the 8013 and I've misplaced the discussion
> on the net at the time about this problem.
>  
> Can anyone tell me how to rewrite the needed info on the
> car?