Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143365399
D18741.id52536.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
904 B
Referenced Files
None
Subscribers
None
D18741.id52536.diff
View Options
Index: sys/dev/ahci/ahci.c
===================================================================
--- sys/dev/ahci/ahci.c
+++ sys/dev/ahci/ahci.c
@@ -987,7 +987,7 @@
if (bus_dma_tag_create(bus_get_dma_tag(dev), 1024, 0,
BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR,
NULL, NULL, AHCI_WORK_SIZE, 1, AHCI_WORK_SIZE,
- 0, NULL, NULL, &ch->dma.work_tag))
+ 0, busdma_lock_mutex, &ch->mtx, &ch->dma.work_tag))
goto error;
if (bus_dmamem_alloc(ch->dma.work_tag, (void **)&ch->dma.work,
BUS_DMA_ZERO, &ch->dma.work_map))
@@ -1006,7 +1006,7 @@
if (bus_dma_tag_create(bus_get_dma_tag(dev), rfsize, 0,
BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR,
NULL, NULL, rfsize, 1, rfsize,
- 0, NULL, NULL, &ch->dma.rfis_tag))
+ 0, busdma_lock_mutex, &ch->mtx, &ch->dma.rfis_tag))
goto error;
if (bus_dmamem_alloc(ch->dma.rfis_tag, (void **)&ch->dma.rfis, 0,
&ch->dma.rfis_map))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 30, 11:29 AM (15 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28099851
Default Alt Text
D18741.id52536.diff (904 B)
Attached To
Mode
D18741: Fix use of busdma(9) KPI in ahci(4).
Attached
Detach File
Event Timeline
Log In to Comment