Module Name: src Committed By: msaitoh Date: Wed Aug 6 02:55:50 UTC 2014
Modified Files: src/sys/dev/pci: if_wm.c Log Message: Don't check SWSM_SMBI bit if WM_F_LOCK_SWSM isn't set. Fix a problem when using vmware with e1000"e". With e1000e which is regarded as 82574L, wm_gmii_init() fails with "could not acquire SWSM SMBI" message without this change. This problem doesn't occur with real 82574L card. TODO: - Change the function name. It's difficult to understand. The name was from old Intel original e1000 driver. - Read Intel original driver again and check ALL location where semaphore is used. To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 src/sys/dev/pci/if_wm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.