aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/advansys
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2012-03-12 19:29:32 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2012-03-12 19:29:32 +0000
commitf1bd1e9dd7bcf042b5176f94bf0e6ad9de2d66c8 (patch)
tree7a1a82a5e05479859147b3defdfeeac63b942732 /sys/dev/advansys
parentfee74cf7e876c6acf990731daad2328cc7b414b7 (diff)
downloadsrc-f1bd1e9dd7bcf042b5176f94bf0e6ad9de2d66c8.tar.gz
src-f1bd1e9dd7bcf042b5176f94bf0e6ad9de2d66c8.zip
Remove comments about creating DMA tags as children of the DMA tags of their
parent bus where the code has now been modified to do so. Reviewed by: scottl
Notes
Notes: svn path=/head/; revision=232882
Diffstat (limited to 'sys/dev/advansys')
-rw-r--r--sys/dev/advansys/adv_pci.c1
-rw-r--r--sys/dev/advansys/adw_pci.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/advansys/adv_pci.c b/sys/dev/advansys/adv_pci.c
index ef938e38efeb..b295853a9537 100644
--- a/sys/dev/advansys/adv_pci.c
+++ b/sys/dev/advansys/adv_pci.c
@@ -187,7 +187,6 @@ adv_pci_attach(device_t dev)
}
/* Allocate a dmatag for our transfer DMA maps */
- /* XXX Should be a child of the PCI bus dma tag */
error = bus_dma_tag_create(
/* parent */ bus_get_dma_tag(dev),
/* alignment */ 1,
diff --git a/sys/dev/advansys/adw_pci.c b/sys/dev/advansys/adw_pci.c
index d9169cf70a04..9ad99bf190b4 100644
--- a/sys/dev/advansys/adw_pci.c
+++ b/sys/dev/advansys/adw_pci.c
@@ -258,7 +258,6 @@ adw_pci_attach(device_t dev)
pci_write_config(dev, PCIR_COMMAND, command, /*bytes*/1);
/* Allocate a dmatag for our transfer DMA maps */
- /* XXX Should be a child of the PCI bus dma tag */
error = bus_dma_tag_create(
/* parent */ bus_get_dma_tag(dev),
/* alignment */ 1,