smist: Remove unneeded Giant from bus_dma_tag_create().
bus_dmamap_load() call uses BUS_DMA_NOWAIT. MFC after: 2 weeks
This commit is contained in:
parent
e06c67eef8
commit
a69f810466
@ -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 New Issue
Block a user