Given that this is a host-PCI-Express bridge driver, create the parent
DMA tag with a 4 GB boundary as required by PCI-Express. With r232403 in place this actually is redundant. However, the host-PCI-Express bridge driver is the more appropriate place for implementing this restriction. MFC after: 3 days
This commit is contained in:
parent
d4ddb330c9
commit
1376f3e1d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233421
@ -764,7 +764,7 @@ fire_attach(device_t dev)
|
||||
if (sc->sc_pci_cfgt == NULL)
|
||||
panic("%s: could not allocate PCI configuration space tag",
|
||||
__func__);
|
||||
if (bus_dma_tag_create(bus_get_dma_tag(dev), 8, 0,
|
||||
if (bus_dma_tag_create(bus_get_dma_tag(dev), 8, 0x100000000,
|
||||
sc->sc_is.is_pmaxaddr, ~0, NULL, NULL, sc->sc_is.is_pmaxaddr,
|
||||
0xff, 0xffffffff, 0, NULL, NULL, &sc->sc_pci_dmat) != 0)
|
||||
panic("%s: could not create PCI DMA tag", __func__);
|
||||
|
Loading…
Reference in New Issue
Block a user