diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-03-29 09:46:10 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-03-29 09:46:10 +0000 |
commit | 04e6064fe970390a9363780e9c15d5fba762ca44 (patch) | |
tree | f31998e10af8e27e734ada82aa7170e33e1c2719 /sys/dev/aha/aha_isa.c | |
parent | 98b3db7ecaedf32ca9c418f3d2e1b18d911b8864 (diff) | |
download | FreeBSD-src-04e6064fe970390a9363780e9c15d5fba762ca44.zip FreeBSD-src-04e6064fe970390a9363780e9c15d5fba762ca44.tar.gz |
Clean up argument comments for bus_dma_tag_create() calls.
Diffstat (limited to 'sys/dev/aha/aha_isa.c')
-rw-r--r-- | sys/dev/aha/aha_isa.c | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/sys/dev/aha/aha_isa.c b/sys/dev/aha/aha_isa.c index 4703246..095bd1b 100644 --- a/sys/dev/aha/aha_isa.c +++ b/sys/dev/aha/aha_isa.c @@ -244,13 +244,18 @@ aha_isa_attach(device_t dev) filter_arg = NULL; lowaddr = BUS_SPACE_MAXADDR_24BIT; - if (bus_dma_tag_create(/*parent*/NULL, /*alignemnt*/1, /*boundary*/0, - lowaddr, /*highaddr*/BUS_SPACE_MAXADDR, - filter, filter_arg, - /*maxsize*/BUS_SPACE_MAXSIZE_24BIT, - /*nsegments*/~0, - /*maxsegsz*/BUS_SPACE_MAXSIZE_24BIT, - /*flags*/0, &aha->parent_dmat) != 0) { + if (bus_dma_tag_create( /* parent */ NULL, + /* alignemnt */ 1, + /* boundary */ 0, + /* lowaddr */ lowaddr, + /* highaddr */ BUS_SPACE_MAXADDR, + /* filter */ filter, + /* filterarg */ filter_arg, + /* maxsize */ BUS_SPACE_MAXSIZE_24BIT, + /* nsegments */ ~0, + /* maxsegsz */ BUS_SPACE_MAXSIZE_24BIT, + /* flags */ 0, + &aha->parent_dmat) != 0) { aha_free(aha); bus_release_resource(dev, SYS_RES_IOPORT, aha->portrid, aha->port); bus_release_resource(dev, SYS_RES_IRQ, aha->irqrid, aha->irq); |