From f1bd1e9dd7bcf042b5176f94bf0e6ad9de2d66c8 Mon Sep 17 00:00:00 2001 From: Juli Mallett Date: Mon, 12 Mar 2012 19:29:32 +0000 Subject: 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 --- sys/dev/advansys/adv_pci.c | 1 - sys/dev/advansys/adw_pci.c | 1 - 2 files changed, 2 deletions(-) (limited to 'sys/dev/advansys') diff --git a/sys/dev/advansys/adv_pci.c b/sys/dev/advansys/adv_pci.c index ef938e38efeb2..b295853a95374 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 d9169cf70a045..9ad99bf190b45 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, -- cgit v1.3