diff options
| author | Conrad Meyer <cem@FreeBSD.org> | 2016-12-04 04:04:57 +0000 |
|---|---|---|
| committer | Conrad Meyer <cem@FreeBSD.org> | 2016-12-04 04:04:57 +0000 |
| commit | e2a65c00319b564f699d3535105f0fbdaba59600 (patch) | |
| tree | a0b4bafd2f502588dcd10a853b261d2a9b31b469 /sys/dev/ioat | |
| parent | 695349e306141225ed596329e84c3544e596ee3c (diff) | |
Notes
Diffstat (limited to 'sys/dev/ioat')
| -rw-r--r-- | sys/dev/ioat/ioat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ioat/ioat.c b/sys/dev/ioat/ioat.c index 824d229dfde7..1224e207bec0 100644 --- a/sys/dev/ioat/ioat.c +++ b/sys/dev/ioat/ioat.c @@ -486,8 +486,9 @@ ioat3_attach(device_t device) ringsz = sizeof(struct ioat_dma_hw_descriptor) * num_descriptors; error = bus_dma_tag_create(bus_get_dma_tag(ioat->device), - 2 * 1024 * 1024, 0x0, BUS_SPACE_MAXADDR_40BIT, BUS_SPACE_MAXADDR, - NULL, NULL, ringsz, 1, ringsz, 0, NULL, NULL, &ioat->hw_desc_tag); + 2 * 1024 * 1024, 0x0, (bus_addr_t)BUS_SPACE_MAXADDR_40BIT, + BUS_SPACE_MAXADDR, NULL, NULL, ringsz, 1, ringsz, 0, NULL, NULL, + &ioat->hw_desc_tag); if (error != 0) return (error); |
