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
This commit is contained in:
parent
fee74cf7e8
commit
f1bd1e9dd7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232882
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -130,7 +130,6 @@ aic7770_attach(device_t dev)
|
||||
ahc_set_unit(ahc, device_get_unit(dev));
|
||||
|
||||
/* Allocate a dmatag for our SCB DMA maps */
|
||||
/* XXX Should be a child of the PCI bus dma tag */
|
||||
error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev),
|
||||
/*alignment*/1, /*boundary*/0,
|
||||
/*lowaddr*/BUS_SPACE_MAXADDR_32BIT,
|
||||
|
@ -253,7 +253,6 @@ ahc_isa_attach(device_t dev)
|
||||
ahc_set_unit(ahc, device_get_unit(dev));
|
||||
|
||||
/* Allocate a dmatag for our SCB DMA maps */
|
||||
/* XXX Should be a child of the VLB/ISA bus dma tag */
|
||||
error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev),
|
||||
/*alignment*/1, /*boundary*/0,
|
||||
/*lowaddr*/BUS_SPACE_MAXADDR_32BIT,
|
||||
|
@ -105,7 +105,6 @@ ahc_pci_attach(device_t dev)
|
||||
ahc->flags |= AHC_39BIT_ADDRESSING;
|
||||
|
||||
/* Allocate a dmatag for our SCB DMA maps */
|
||||
/* XXX Should be a child of the PCI bus dma tag */
|
||||
error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev),
|
||||
/*alignment*/1, /*boundary*/0,
|
||||
(ahc->flags & AHC_39BIT_ADDRESSING)
|
||||
|
@ -107,7 +107,6 @@ ahd_pci_attach(device_t dev)
|
||||
ahd->flags |= AHD_39BIT_ADDRESSING;
|
||||
|
||||
/* Allocate a dmatag for our SCB DMA maps */
|
||||
/* XXX Should be a child of the PCI bus dma tag */
|
||||
error = aic_dma_tag_create(ahd, /*parent*/bus_get_dma_tag(dev),
|
||||
/*alignment*/1, /*boundary*/0,
|
||||
(ahd->flags & AHD_39BIT_ADDRESSING)
|
||||
|
@ -172,7 +172,6 @@ bt_pci_attach(device_t dev)
|
||||
}
|
||||
|
||||
/* Allocate a dmatag for our CCB DMA maps */
|
||||
/* XXX Should be a child of the PCI bus dma tag */
|
||||
if (bus_dma_tag_create( /* PCI parent */ bus_get_dma_tag(dev),
|
||||
/* alignemnt */ 1,
|
||||
/* boundary */ 0,
|
||||
|
@ -132,7 +132,6 @@ dpt_pci_attach (device_t dev)
|
||||
dpt_alloc(dev);
|
||||
|
||||
/* Allocate a dmatag representing the capabilities of this attachment */
|
||||
/* XXX Should be a child of the PCI bus dma tag */
|
||||
if (bus_dma_tag_create( /* PCI parent */ bus_get_dma_tag(dev),
|
||||
/* alignemnt */ 1,
|
||||
/* boundary */ 0,
|
||||
|
@ -317,7 +317,6 @@ iir_pci_attach(device_t dev)
|
||||
gdt->sc_test_busy = gdt_mpr_test_busy;
|
||||
|
||||
/* Allocate a dmatag representing the capabilities of this attachment */
|
||||
/* XXX Should be a child of the PCI bus dma tag */
|
||||
if (bus_dma_tag_create(/*parent*/bus_get_dma_tag(dev),
|
||||
/*alignemnt*/1, /*boundary*/0,
|
||||
/*lowaddr*/BUS_SPACE_MAXADDR_32BIT,
|
||||
|
Loading…
Reference in New Issue
Block a user