• David Engebretsen's avatar
    [netdrvr pcnet32] bug fixes · 59c73e94
    David Engebretsen authored
    I would like to see a couple of the pcnet32 changes that I think we can
    agree on be put into the trees so a couple of the potential defects can be
    avoided.  The following patch contains just these pieces.  The only
    controversial one is an arbitrary change in the number of iterations in a
    while loop spinning on hardware state.   No matter how this is done, I am
    not especially fond of this bit of code as it has no reasonable error
    recovery path -- however, as a half-way, incremental solution, increasing
    the polling time should help as the 100 value was certainly found to be
    insufficient.  1000 may not be sufficient either, but it is certainly no
    worse.
    
    Both of the other changes were hit in testing (and I belive the wmb() at a
    customer even), so it would help reduce some debug if these go in.  Any
    feedback is appreciated - thanks.
    59c73e94
pcnet32.c 54.6 KB