aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_generic.c
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2013-05-08 21:23:51 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2013-05-08 21:23:51 +0000
commit5e0185081d3655277d9b84399dfcf9bb18649821 (patch)
treeb962572ae00f3ec749787560f9f7d47e545dfb6e /sys/dev/usb/usb_generic.c
parent5dd7f29ccd3651378f6f4af8e82204c9585e158e (diff)
downloadsrc-5e0185081d3655277d9b84399dfcf9bb18649821.tar.gz
src-5e0185081d3655277d9b84399dfcf9bb18649821.zip
Fix the holding descriptor logic to actually be "right" (for values
of "right".) Flip back on the "always continue TX DMA using the holding descriptor" code - by always setting ATH_BUF_BUSY and never setting axq_link to NULL. Since the holding descriptor is accessed via txq->axq_link and _that_ is done behind the TXQ lock rather than the TX path lock, the holding descriptor stuff itself needs to be behind the TXQ lock. So, do the mental gymnastics needed to do this. I've not seen any of the hardware failures that I was seeing when I last tried to do this. Tested: * AR5416, STA mode
Notes
Notes: svn path=/head/; revision=250391
Diffstat (limited to 'sys/dev/usb/usb_generic.c')
0 files changed, 0 insertions, 0 deletions