mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
A dma tag alignment should be 1 (not 0) when a device can dma at any address.
This commit is contained in:
parent
c2846d2e3f
commit
faab4473eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274189
@ -217,7 +217,7 @@ ahci_attach(device_t dev)
|
||||
ctlr->emloc = ATA_INL(ctlr->r_mem, AHCI_EM_LOC);
|
||||
|
||||
/* Create controller-wide DMA tag. */
|
||||
if (bus_dma_tag_create(bus_get_dma_tag(dev), 0, 0,
|
||||
if (bus_dma_tag_create(bus_get_dma_tag(dev), 1, 0,
|
||||
(ctlr->caps & AHCI_CAP_64BIT) ? BUS_SPACE_MAXADDR :
|
||||
BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR, NULL, NULL,
|
||||
BUS_SPACE_MAXSIZE, BUS_SPACE_UNRESTRICTED, BUS_SPACE_MAXSIZE,
|
||||
|
Loading…
Reference in New Issue
Block a user