6.3 nfe: strange behavior after reset

Andriy Gapon avg at icyb.net.ua
Thu Mar 27 08:28:20 PDT 2008


on 26/02/2008 09:36 Pyun YongHyeon said the following:
> 
> Nice catch!
> The register name in nfe(4) for NvRegMIIMask is NFE_SETUP_R4.
> According to Linux driver it's used for generating link state
> change interrupt. So I guess nfe(4) may have to clear the
> register in nfe_stop(). How about clearing the register as
> attached patch? (Sorry I couldn't test this ATM...)

Unfortunately, the latest patch didn't make any difference either.
So the issue is where it was: do a reboot or a power off / power on
cycle - nfe is good, press reset and boot - nfe is silently dead.
There is even a stranger thing: in the problematic scenario, if I unload
nfe.ko and load nve.ko then the NIC becomes alive, unload nve and
re-load nfe NIC is still dead. Mystery.

I'll try to do more local debugging later when I have a chance to hit
the reset button.

-- 
Andriy Gapon


More information about the freebsd-stable mailing list