diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-30 14:16:01 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-30 14:16:01 +0000 |
commit | 6dddcb3649b42a72fb6e1f90a4d66dd0f4bcd482 (patch) | |
tree | 387f92f0878112dc277af9725f0e35183769916e /sys/arch/powerpc/include/bus.h | |
parent | 7e30b92f64324e3a7561a1bba30cf003e4037d76 (diff) |
Change:
int bus_dmamem_mmap(bus_dma_tag_t, bus_dma_segment_t, int, int, int, int);
to:
paddr_t bus_dmamem_mmap(bus_dma_tag_t, bus_dma_segment_t, int, int, off_t, int);
To allow mmaping offsets larger than INT_MAX. And to simply make more sense.
Diffstat (limited to 'sys/arch/powerpc/include/bus.h')
-rw-r--r-- | sys/arch/powerpc/include/bus.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/powerpc/include/bus.h b/sys/arch/powerpc/include/bus.h index f4441fe23ef..9946b120faa 100644 --- a/sys/arch/powerpc/include/bus.h +++ b/sys/arch/powerpc/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.16 2001/07/09 02:14:05 mickey Exp $ */ +/* $OpenBSD: bus.h,v 1.17 2001/07/30 14:16:00 art Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom. All rights reserved. @@ -451,8 +451,8 @@ struct powerpc_bus_dma_tag { int (*_dmamem_map) __P((bus_dma_tag_t, bus_dma_segment_t *, int, size_t, caddr_t *, int)); void (*_dmamem_unmap) __P((bus_dma_tag_t, caddr_t, size_t)); - int (*_dmamem_mmap) __P((bus_dma_tag_t, bus_dma_segment_t *, - int, int, int, int)); + paddr_t (*_dmamem_mmap) __P((bus_dma_tag_t, bus_dma_segment_t *, + int, off_t, int, int)); }; #define bus_dmamap_create(t, s, n, m, b, f, p) \ |