diff options
author | Marius Strobl <marius@FreeBSD.org> | 2007-01-21 19:32:51 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2007-01-21 19:32:51 +0000 |
commit | c2175ff5cadf1e22b3054180ba69548b00a4a0de (patch) | |
tree | 0022c3a9a6df560b7e242e09f139c9d0dd23011b /sys/dev/ath/if_ath.c | |
parent | e54f6746527c81d586dd8fa24590bcb3ef7c290a (diff) | |
download | src-c2175ff5cadf1e22b3054180ba69548b00a4a0de.tar.gz src-c2175ff5cadf1e22b3054180ba69548b00a4a0de.zip |
Change the remainder of the drivers for DMA'ing devices enabled in the
sparc64 GENERIC and the sound device drivers known working on sparc64
to use bus_get_dma_tag() to obtain the parent DMA tag so we can get rid
of the sparc64_root_dma_tag kludge eventually. Except for ath(4), sk(4),
stge(4) and ti(4) these changes are runtime tested (unless I booted up
the wrong kernels again...).
Notes
Notes:
svn path=/head/; revision=166165
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r-- | sys/dev/ath/if_ath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 55e5f7777843..f0fe1ee9bb92 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -2511,7 +2511,7 @@ ath_descdma_setup(struct ath_softc *sc, /* * Setup DMA descriptor area. */ - error = bus_dma_tag_create(NULL, /* parent */ + error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), /* parent */ PAGE_SIZE, 0, /* alignment, bounds */ BUS_SPACE_MAXADDR_32BIT, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ |