summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2011-09-07 16:57:43 +0000
committeryongari <yongari@FreeBSD.org>2011-09-07 16:57:43 +0000
commitb3819a3c4828993bca7832b8b227cfd8448adeca (patch)
tree9368110321767182fa70e12c89b872153167341a /sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
parent284bd48a4407bf3b284b474415d2f533460af230 (diff)
downloadFreeBSD-src-b3819a3c4828993bca7832b8b227cfd8448adeca.zip
FreeBSD-src-b3819a3c4828993bca7832b8b227cfd8448adeca.tar.gz
vge(4) hardwares poll media status and generates an interrupt
whenever the link state is changed. Using software based polling for media status tracking is known to cause MII access failure under certain conditions once link is established so vge(4) used to rely on link status change interrupt. However DEVICE_POLLING completely disables generation of all kind of interrupts on vge(4) such that this resulted in not detecting link state change event. This means vge(4) does not correctly detect established/lost link with DEVICE_POLLING. Losing the interrupt made vge(4) not to send any packets to peer since vge(4) does not try to send any packets when there is no established link. Work around the issue by generating link state change interrupt with DEVICE_POLLING. PR: kern/160442 Approved by: re (kib)
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5212/ar5212_attach.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud