mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 16:50:25 -04:00
smist: Remove unneeded Giant from bus_dma_tag_create().
bus_dmamap_load() call uses BUS_DMA_NOWAIT.
MFC after: 2 weeks
(cherry picked from commit a69f810466)
This commit is contained in:
parent
f9c97b8ada
commit
c3593fcdfb
1 changed files with 1 additions and 2 deletions
|
|
@ -205,8 +205,7 @@ set_ownership(device_t dev)
|
|||
/*alignment*/ PAGE_SIZE, /*no boundary*/ 0,
|
||||
/*lowaddr*/ BUS_SPACE_MAXADDR_32BIT, /*highaddr*/ BUS_SPACE_MAXADDR,
|
||||
NULL, NULL, /*maxsize*/ PAGE_SIZE, /*segments*/ 1,
|
||||
/*maxsegsize*/ PAGE_SIZE, 0, busdma_lock_mutex, &Giant,
|
||||
&tag) != 0) {
|
||||
/*maxsegsize*/ PAGE_SIZE, 0, NULL, NULL, &tag) != 0) {
|
||||
device_printf(dev, "can't create mem tag\n");
|
||||
return (ENXIO);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue