diff options
author | jhb <jhb@FreeBSD.org> | 2012-03-07 18:57:09 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-03-07 18:57:09 +0000 |
commit | 514b775731b883c65e49d038c143bacb85173278 (patch) | |
tree | a01fa7bfbe1bb7d6f5816adf174226e252efba1c /sys/dev/pci/pci.c | |
parent | 81b5da5e880ffc9c441eee95cfc09b17bce754a4 (diff) | |
download | FreeBSD-src-514b775731b883c65e49d038c143bacb85173278.zip FreeBSD-src-514b775731b883c65e49d038c143bacb85173278.tar.gz |
Remove the PAE-specific 2GB DMA boundary since HEAD now supports a proper 4G
boundary for PAE.
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r-- | sys/dev/pci/pci.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 0874e4b..e1b7bc0 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -70,20 +70,9 @@ __FBSDID("$FreeBSD$"); #include "pcib_if.h" #include "pci_if.h" -/* - * XXX: Due to a limitation of the bus_dma_tag_create() API, we cannot - * specify a 4GB boundary on 32-bit targets. Usually this does not - * matter as it is ok to use a boundary of 0 on these systems. - * However, in the case of PAE, DMA addresses can cross a 4GB - * boundary, so as a workaround use a 2GB boundary. - */ #if (BUS_SPACE_MAXADDR > 0xFFFFFFFF) -#ifdef PAE -#define PCI_DMA_BOUNDARY 0x80000000 -#else #define PCI_DMA_BOUNDARY 0x100000000 #endif -#endif #define PCIR_IS_BIOS(cfg, reg) \ (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \ |