Module Name: src Committed By: msaitoh Date: Tue Jul 25 06:00:17 UTC 2017
Modified Files: src/sys/dev/pci: if_wm.c if_wmvar.h Log Message: Use new nvm.{acquire,release}() for semaphore. Almost the same except the following: - 8257[12]: Don't directly access SPI but use EERD register. - 82575-I354: If the size of SPI ROM >= 32K words, use direct SPI access instead of EERD register access. - Add wm_nvm_eec_clock_raise() and wm_nvm_eec_clock_lower() and use them for Microwire/SPI bus control. Same as Linux and FreeBSD. - Redude timeout value for 80003 in wm_get_swfw_semaphore(). Same as Linux and FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.529 -r1.530 src/sys/dev/pci/if_wm.c cvs rdiff -u -r1.34 -r1.35 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.