summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/bus_private.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-06-28 04:04:43 +0000
committerscottl <scottl@FreeBSD.org>2004-06-28 04:04:43 +0000
commitf4231a77ebc035253a9c37f7c3b0aaeccee776b8 (patch)
treea528e9f08902c170f779fffea566eb776bed5e3f /sys/sparc64/include/bus_private.h
parent517327a82c6b04141a9393e33704ed997ecb4cc2 (diff)
downloadFreeBSD-src-f4231a77ebc035253a9c37f7c3b0aaeccee776b8.zip
FreeBSD-src-f4231a77ebc035253a9c37f7c3b0aaeccee776b8.tar.gz
Retire BUS_DMAMAP_NSEGS for sparc64
Diffstat (limited to 'sys/sparc64/include/bus_private.h')
-rw-r--r--sys/sparc64/include/bus_private.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/sparc64/include/bus_private.h b/sys/sparc64/include/bus_private.h
index 55f6e53..ba15cd9 100644
--- a/sys/sparc64/include/bus_private.h
+++ b/sys/sparc64/include/bus_private.h
@@ -41,13 +41,6 @@ int sparc64_bus_mem_map(bus_space_tag_t, bus_space_handle_t, bus_size_t,
int sparc64_bus_mem_unmap(void *, bus_size_t);
bus_space_handle_t sparc64_fake_bustag(int, bus_addr_t, struct bus_space_tag *);
-/*
- * This is more or less arbitrary, except for the stack space consumed by
- * the segments array. Choose more than ((BUS_SPACE_MAXSIZE / PAGE_SIZE) + 1),
- * since in practice we could be map pages more than once.
- */
-#define BUS_DMAMAP_NSEGS 64
-
struct bus_dmamap_res {
struct resource *dr_res;
bus_size_t dr_used;
OpenPOWER on IntegriCloud