Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176142032
D60286.id189468.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
789 B
Referenced Files
None
Subscribers
None
D60286.id189468.diff
View Options
diff --git a/sys/dev/iwm/if_iwm.c b/sys/dev/iwm/if_iwm.c
--- a/sys/dev/iwm/if_iwm.c
+++ b/sys/dev/iwm/if_iwm.c
@@ -1244,6 +1244,7 @@
bus_dmamap_sync(ring->desc_dma.tag, ring->desc_dma.map,
BUS_DMASYNC_PREWRITE);
sc->qfullmsk &= ~(1 << ring->qid);
+ sc->qenablemsk &= ~(1 << ring->qid);
ring->queued = 0;
ring->cur = 0;
@@ -1795,6 +1796,7 @@
IWM_DPRINTF(sc, IWM_DEBUG_XMIT, "%s: enabled txq %d FIFO %d\n",
__func__, qid, fifo);
+ sc->qenablemsk |= (1 << qid);
return 0;
}
diff --git a/sys/dev/iwm/if_iwmvar.h b/sys/dev/iwm/if_iwmvar.h
--- a/sys/dev/iwm/if_iwmvar.h
+++ b/sys/dev/iwm/if_iwmvar.h
@@ -455,6 +455,7 @@
struct iwm_tx_ring txq[IWM_MAX_QUEUES];
struct iwm_rx_ring rxq;
int qfullmsk;
+ int qenablemsk;
int cmdqid;
/* ICT table. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 17, 10:54 AM (13 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40901589
Default Alt Text
D60286.id189468.diff (789 B)
Attached To
Mode
D60286: iwm: add qenablemsk to track enabled TXQs
Attached
Detach File
Event Timeline
Log In to Comment