Module Name: src Committed By: martin Date: Fri Aug 29 11:37:51 UTC 2014
Modified Files: src/sys/dev/pci [netbsd-7]: if_wm.c if_wmvar.h Log Message: Pull up following revision(s) (requested by msaitoh in ticket #61): sys/dev/pci/if_wm.c: revision 1.290 sys/dev/pci/if_wmvar.h: revision 1.20 Set the WM_F_ATTACHED flag if wm_attach() finished succesfully and check the flag in wm_detach(). It will avoid to panic in wm_detach(). Fixes PR#49102. To generate a diff of this commit: cvs rdiff -u -r1.289 -r1.289.2.1 src/sys/dev/pci/if_wm.c cvs rdiff -u -r1.19 -r1.19.2.1 src/sys/dev/pci/if_wmvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.