summaryrefslogtreecommitdiffstats
path: root/sys/dev/advansys
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-03-12 19:29:32 +0000
committerjmallett <jmallett@FreeBSD.org>2012-03-12 19:29:32 +0000
commit086b945161095994a02d90c5a819197e38c1404a (patch)
tree7a1a82a5e05479859147b3defdfeeac63b942732 /sys/dev/advansys
parent5deea580fd486a6b65bdfbce63178c88af71d106 (diff)
downloadFreeBSD-src-086b945161095994a02d90c5a819197e38c1404a.zip
FreeBSD-src-086b945161095994a02d90c5a819197e38c1404a.tar.gz
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
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 ef938e3..b295853 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 d9169cf..9ad99bf 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,
OpenPOWER on IntegriCloud