diff options
author | marius <marius@FreeBSD.org> | 2012-03-24 13:11:58 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2012-03-24 13:11:58 +0000 |
commit | 306ae35dcaefcbf325fca38d3e534cb7719aefc9 (patch) | |
tree | b751b211a79bbc94785cce7a902c24eacc3ec0e4 | |
parent | 8973cd587b6f51cb8ed2d9a9b324a557f3acae5d (diff) | |
download | FreeBSD-src-306ae35dcaefcbf325fca38d3e534cb7719aefc9.zip FreeBSD-src-306ae35dcaefcbf325fca38d3e534cb7719aefc9.tar.gz |
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
-rw-r--r-- | sys/sparc64/pci/fire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/pci/fire.c b/sys/sparc64/pci/fire.c index 0dbe536..c5a90c1 100644 --- a/sys/sparc64/pci/fire.c +++ b/sys/sparc64/pci/fire.c @@ -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__); |