summaryrefslogtreecommitdiffstats
path: root/sys/arm/include
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-11-02 22:49:39 +0000
committerian <ian@FreeBSD.org>2015-11-02 22:49:39 +0000
commit4070a7c2a03ef5837cb99a2aa4f6ad9ff332ecfe (patch)
tree3be930e3ae1578d0dbb2994e705742fe28f8b98c /sys/arm/include
parentac99afcf9666808d9ff0d10f5f7c9ffca374bc97 (diff)
downloadFreeBSD-src-4070a7c2a03ef5837cb99a2aa4f6ad9ff332ecfe.zip
FreeBSD-src-4070a7c2a03ef5837cb99a2aa4f6ad9ff332ecfe.tar.gz
Eliminate the last dregs of the old global arm_root_dma_tag.
In the old days, device drivers passed NULL for the parent tag when creating a new tag, and on arm platforms that resulted in a global tag representing overall platform constraints being substituted in the busdma code. Now all drivers use bus_get_dma_tag() and if there is a need to represent overall platform constraints they will be inherited from a tag supplied by nexus or some bus driver in the hierarchy. The only arm platforms still relying on the old global-tag scheme were some xscale boards with special PCI-bus constraints. This change provides those constraints through a tag supplied by the xscale PCI bus driver, and eliminates the few remaining references to the old global var. Reviewed by: cognet
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/bus_dma.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arm/include/bus_dma.h b/sys/arm/include/bus_dma.h
index 98803ef..ddf5504 100644
--- a/sys/arm/include/bus_dma.h
+++ b/sys/arm/include/bus_dma.h
@@ -94,8 +94,6 @@ struct arm32_dma_range {
struct arm32_dma_range *bus_dma_get_range(void);
int bus_dma_get_range_nb(void);
-extern bus_dma_tag_t arm_root_dma_tag;
-
#endif /* _ARM32_BUS_DMA_PRIVATE */
#endif /* _ARM_BUS_DMA_H */
OpenPOWER on IntegriCloud