]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r284335
authordavidcs <davidcs@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 30 Jun 2015 19:53:59 +0000 (19:53 +0000)
committerdavidcs <davidcs@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 30 Jun 2015 19:53:59 +0000 (19:53 +0000)
commitb0a0290de94fea74ebcff51a8b008416662a6228
tree5b6b862ad447f3eaa42bf2e351aa379b68fe60de
parentabf7a3da3d32656908aebf0a3107ffb1ae9519e0
MFC r284335

PHY LOCK acquires the hardware lock via bxe_acquire_phy_lock() and releases it via bxe_release_phy_lock(). It was simply acquiring a mutex earlier which can cause the PHY to use bogus values. Fixes intermittent link failures.

bxe_ioctl() completes all functions within its context as opposed to a taskqueue earlier.

bxe_handle_rx_mode_tq() no longer required. bxe_set_rx_mode() handles the functionality within its context

Submitted by:gary.zambrano@qlogic.com

git-svn-id: svn://svn.freebsd.org/base/stable/9@284971 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/bxe/bxe.c
sys/dev/bxe/bxe.h
sys/dev/bxe/ecore_reg.h