Subject: Re: wt driver conflict with ????
To: Tim Rightnour <root@garbled.net>
From: Dave Burgess <burgess@cynjut.neonramp.com>
List: port-i386
Date: 06/24/1998 17:31:10
> 
> This is from Will Ferry from current-users.0452::
> 
> (Hopefully you know the card's 6 byte hardware address)
> 

It should still be on the little sticker on the card.

> Assuming your card is still at base 300 (don't jumper it anywhere else yet),
> 0x308 - 0x30d contain the hardware address.  0x30e is a board type
> identifier.  0x30f is a checksum for the other information.  If the SMC
> utilities don't see the correct checksum byte, they seem to
> automatically assume it's not an SMC ethernet card at the port.
> 
> Using DOS "debug", check the values between 308 and 30f.  For example,
> to view the byte at 308, use the command "i 308".  To write the byte 0F
> to 308, use the command "o 308 0F".
> 
> Verify that the contents of 308 - 30d ARE your hardware address.  I
> don't know what the correct board type for your card is.  For the two I
> fixed, they were EtherCard PLUS Elite16T, and the identifier was 0x28. 
> Hopefully you have another (non-corrupt) card, or somebody else could
> tell you what the correct identifier is, as at least for my friend and I
> it was one of the bytes that had been changed by the probe.
> 
> Once you're sure all these bytes are correct, you get to calculate the
> value for the 8th byte... =)  The sum of all 8 bytes (mod 256) should be
> 0xFF.  So add the first 7 bytes, and calculate what the 8th one should
> be to get a sum (mod 256) of 0xFF.
> 
> Now you're ready to commit these settings to the NVRAM.  To do this,
> read the byte at 0x301.  Add 0x80 to it, and write that value to 0x301. 
> Now write the original value back in.  Now the settings are saved.  The
> SMC utilities should see the card, hopefully they will still show it's
> the correct type of card...  =)

The table of card types is in /sys/dev/isa/if_wereg.h.

> 
>     BTW, be sure to move your card to somewhere other than 0x300...  =)
> 
> ---
> Tim Rightnour    -  root@garbled.net
> http://www.zynetwc.com/~garbled/garbled.html
> 


-- 
Dave Burgess                   Network Engineer - Nebraska On-Ramp, Inc.
*bsd FAQ Maintainer / SysAdmin for the NetBSD system in my spare bedroom
"Just because something is stupid doesn't mean there isn't someone that 
doesn't want to do it...."