Subject: Busted SMC controllers
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Martin Husemann <martin@euterpe.owl.de>
List: current-users
Date: 04/27/1994 03:33:31
I just investigated a little further into my damaged SMC card (which
didn't work after I booted a GENERICAHA kernel from the binary snapshot).

It kind-of works again!

I did the following:

 1) jumpered the card to 300/10/cc000 by hardware (as ezsetup isn't
    recognizing it)
 2) patched if_ed.c to always find a wd8013 in ed_probe
 3) uncommented the station id checksum tests

I then got this at boot:

ed0 at isa0 port 0x300-0x31f iomem 0xcc000-0xcdfff irq 10: 
	address 05:00:c0:11:48:2d, type unknown (0x0) (8-bit)

Note the changed MAC address, of course it should have vendor code 00:00:c0.
The type of card isn't recognized, so I hardcoded that to give the right
result:

ed0 at isa0 port 0x300-0x31f iomem 0xcc000-0xcffff irq 10: 
	address 05:00:c0:11:48:2d, type WD8013EP (16-bit)

Now my card is usable again - but has the wrong ethernet address.

If anyone with enough background informations on that hardware could please
send me some hints how to reprogram that to get it known to ezsetup again,
I would be glad to write a program to handle this.


Martin

------------------------------------------------------------------------------