eepro100 1.0.3 patch

Linus Torvalds torvalds@transmeta.com
Sat Oct 17 04:44:29 1998



Ok, I found at least one remaining problem with the newer eepro100
drivers: they reset the thing _twice_. Worse, the second reset is after we
have potentially written some specific setup, which then is lost
completely. Search for the lines that say

	outl(0, ioaddr + SCBPort);

and only the first one is any good: the others will reset the card without
doing the proper state setup. 

The other problem seems to be due to the newer driver forcing a
re-negotiation of the link, which is complete crap, because it ignores the
options that the user has given (and that were honoured earlier at
bootup). 

I suspect these two problems explain the bootup failure I saw - they
essentially resulted in the new driver ignoring the documented way of
forcing it into half-duplex 100Mbps (auto-negotiation doesn't seem to work
either, but that may be due to our particular hub, and not due to the
driver or the card). 

Let's see whether it is stable for me once it boots up (knock wood).

Donald, please sync with me when I release a 2.1.126. 

		Linus