Module Name: src Committed By: mrg Date: Tue Sep 15 08:33:40 UTC 2020
Modified Files: src/sys/dev/ic: gem.c src/sys/dev/pci: if_cas.c Log Message: mii_detach() must come before ifmedia_fini(), otherwise mii_detach() will have a NULL mutex and fault. this appears to have been introduced in february, and may be a problem in other drivers converted to use ifmedia_fini(). i've only fixed the two that were faulting for me on sunblade 2000 during reboot. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132 src/sys/dev/ic/gem.c cvs rdiff -u -r1.43 -r1.44 src/sys/dev/pci/if_cas.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.