#
8a06b90d |
| 23-Sep-2019 |
skrll <skrll@NetBSD.org> |
Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all arches to follow arm and (generic) mips.
Reviewed by christos.
|
#
29ee004d |
| 12-Jul-2011 |
mrg <mrg@NetBSD.org> |
mark bus functions as static inline, not just plain inline.
|
#
5886a7c3 |
| 01-Jul-2008 |
tsutsui <tsutsui@NetBSD.org> |
- avoid extra offset calculation in region/multi ops - fix swapped dist/src in copy_region ops
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
4410329b |
| 21-Feb-2007 |
mrg <mrg@NetBSD.org> |
add a pair of new bus_dma(9) functions: int _bus_dmatag_subregion(bus_dma_tag_t tag, bus_addr_t min_addr, bus_addr_t max_addr, bus_dma_tag_t *newtag, int flags) void _bus_dm
add a pair of new bus_dma(9) functions: int _bus_dmatag_subregion(bus_dma_tag_t tag, bus_addr_t min_addr, bus_addr_t max_addr, bus_dma_tag_t *newtag, int flags) void _bus_dmatag_destroy(bus_dma_tag_t tag)
that allow a (normally broken/limited) device to restrict the bus address range it can talk to. this is used by bce(4) to limit DMA addresses to 1GB range, the maximum the chip can address.
all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several people on tech-kern.
XXX: bus_dma(9) needs an update still.
show more ...
|
#
c207dcd8 |
| 03-Oct-2006 |
tsutsui <tsutsui@NetBSD.org> |
- change find_prom_map() to take paddr_t and return vaddr_t rather than bus_space_handle_t since bus space handle without bus space tag looks weird - replace old sun3 obio_find_mapping() with new c
- change find_prom_map() to take paddr_t and return vaddr_t rather than bus_space_handle_t since bus space handle without bus space tag looks weird - replace old sun3 obio_find_mapping() with new common find_prom_map() - add bus_space_vaddr(), from hp300
show more ...
|
#
d23b794c |
| 01-Oct-2006 |
tsutsui <tsutsui@NetBSD.org> |
First attempt at bus_space(9) support for sun3 with common sun68k/bus.c: - make sun3 port use common sun68k files as much as possible - add temporary options _SUN2_ in std.sun2 until sun3 can share a
First attempt at bus_space(9) support for sun3 with common sun68k/bus.c: - make sun3 port use common sun68k files as much as possible - add temporary options _SUN2_ in std.sun2 until sun3 can share all sun68k files (autoconf.c and isr.c are not yet) - move sun68kvme declaration temporary as well from files.sun68k to files.sun2 - rename and move sun68k_find_prom_map() function to MD sources since it can't be shared with sun3 - add bus tag members to struct confargs and initilize them where appropriate
XXX1: MD bus_dma(9) backends are not implemented (yet). XXX2: more code (obio etc.) should be shared among sun3, sun3x and sun2.
show more ...
|
#
fbae48b9 |
| 16-Feb-2006 |
perry <perry@NetBSD.org> |
Change "inline" back to "__inline" in .h files -- C99 is still too new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
|
#
50a256a3 |
| 24-Dec-2005 |
perry <perry@NetBSD.org> |
__asm__ -> __asm __const__ -> const __inline__ -> inline __volatile__ -> volatile
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
a6db24a4 |
| 09-Mar-2005 |
matt <matt@NetBSD.org> |
Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz supplied to bus_dmamap_create). dm_max
Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz supplied to bus_dmamap_create). dm_maxsegsz is reset to the value supplied to bus_dmamap_create when the dmamap is unloaded.
show more ...
|
#
10b1a7be |
| 22-Jan-2005 |
chs <chs@NetBSD.org> |
de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.
|
#
cebad0b3 |
| 21-Sep-2003 |
cl <cl@NetBSD.org> |
make compile
|
#
7dd7f8ba |
| 15-Jun-2003 |
fvdl <fvdl@NetBSD.org> |
Handle 64bit DMA addresses on PCI for platforms that can (currently only enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new
Handle 64bit DMA addresses on PCI for platforms that can (currently only enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new function called pci_dma64_available(pa) to test if 64bit DMA addresses may be used. This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>, and there is more than 4G of memory.
show more ...
|
#
cd7d9fae |
| 28-Jan-2003 |
kent <kent@NetBSD.org> |
Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it.
|
#
da1e4377 |
| 30-Nov-2001 |
fredette <fredette@NetBSD.org> |
Implement bus_space_mmap.
|
#
babefc53 |
| 19-Jul-2001 |
thorpej <thorpej@NetBSD.org> |
Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-end at dmamap load time that the mapping will be used for a unidirectional transfer of the specified direction.
|
#
c1c742b4 |
| 14-Jun-2001 |
fredette <fredette@NetBSD.org> |
Added sources for the sun2 boot blocks and other sun68k-ish code, all of which ought to eventually be shared with the sun3.
|