aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isci/isci_controller.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-07-10 22:23:59 +0000
committerWarner Losh <imp@FreeBSD.org>2019-07-10 22:23:59 +0000
commitf6ccd325fccc6128aca6fdf764aa70161b30c66b (patch)
tree7b922c7e1d83106181ebae49cdce6fc117e8936f /sys/dev/isci/isci_controller.c
parent3b0b41e6132bb1ba529d20a9ecf4817f0478d6d5 (diff)
Notes
Diffstat (limited to 'sys/dev/isci/isci_controller.c')
-rw-r--r--sys/dev/isci/isci_controller.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isci/isci_controller.c b/sys/dev/isci/isci_controller.c
index 8e3f992f24b7..7e8319b3e5e4 100644
--- a/sys/dev/isci/isci_controller.c
+++ b/sys/dev/isci/isci_controller.c
@@ -477,9 +477,9 @@ int isci_controller_allocate_memory(struct ISCI_CONTROLLER *controller)
* will enable better performance than creating the DMA maps every time we get
* an I/O.
*/
- status = bus_dma_tag_create(bus_get_dma_tag(device), 0x1, 0x0,
- BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR, NULL, NULL,
- isci_io_request_get_max_io_size(),
+ status = bus_dma_tag_create(bus_get_dma_tag(device), 0x1,
+ ISCI_DMA_BOUNDARY, BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR,
+ NULL, NULL, isci_io_request_get_max_io_size(),
SCI_MAX_SCATTER_GATHER_ELEMENTS, max_segment_size, 0,
busdma_lock_mutex, &controller->lock,
&controller->buffer_dma_tag);