History log of /netbsd/sys/arch/mipsco/include/bus.h (Results 1 – 23 of 23)
Revision Date Author Comments
# a7516d15 23-Apr-2021 skrll <skrll@NetBSD.org>

Use sys/cdefs.h __CONCAT3


# 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.


# 41ba3596 12-Feb-2012 matt <matt@NetBSD.org>

Change old-style function defintions to C89 prototypes.

Approved by releng.


# 02cdf4d2 14-Mar-2009 dsl <dsl@NetBSD.org>

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.


# 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 ...


# a465c6b8 26-May-2006 tsutsui <tsutsui@NetBSD.org>

Tweak bus_space_barrier(9) macro to appease
"left-hand operand of comma expression has no effect"
warnings by gcc4.


# 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@.


# 5f1c88d7 24-Dec-2005 perry <perry@NetBSD.org>

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.


# 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 ...


# 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.


# a85e214b 17-Mar-2002 simonb <simonb@NetBSD.org>

Make sure that private DMA flags don't overlap with standard DMA flags;
start these at 0x10000 to leave room for an increase in the latter.


# af66038f 14-Nov-2001 thorpej <thorpej@NetBSD.org>

Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.


# 919892c3 15-Sep-2001 wdk <wdk@NetBSD.org>

bus_space_mmap support based on -arc implementation


# 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.


# 9477a925 30-Mar-2001 wdk <wdk@NetBSD.org>

Re-implement bus_space(9) functions:
- Correctly handle striding of data
- Better support for endian neutral access
- Correctly implement _stream variants of bus_space functions that can
byte s

Re-implement bus_space(9) functions:
- Correctly handle striding of data
- Better support for endian neutral access
- Correctly implement _stream variants of bus_space functions that can
byte swap. This reverses the automatic byte swapping done in hardware
for 16 bit ISA bus cards

show more ...


# 2c4c690f 07-Mar-2001 thorpej <thorpej@NetBSD.org>

Add the BUS_DMA_STREAMING flag.


# 801b97fa 04-Sep-2000 wdk <wdk@NetBSD.org>

Add wbflush() to bus_space_{write_multi,write_region,set_region,copy_region}
functions


# 33016f23 15-Aug-2000 wdk <wdk@NetBSD.org>

* Tidy up interrupt handlers by implementing an intr_establish()
handler to hook up device interrupts and softc callbacks.

Suggested by: Jason Thorpe and Toru Nishimura

* Fixup the indenti

* Tidy up interrupt handlers by implementing an intr_establish()
handler to hook up device interrupts and softc callbacks.

Suggested by: Jason Thorpe and Toru Nishimura

* Fixup the indenting in a few places to conform to NetBSD style

show more ...


# 3f55a7b9 12-Aug-2000 wdk <wdk@NetBSD.org>

Initial commit of port to MIPS Computer Systems RC3xxx systems.
Currently supports the RC3230