Home | History | Annotate | Download | only in include
History log of /src/sys/arch/newsmips/include/bus.h
RevisionDateAuthorComments
 1.23  23-Jan-2021  christos Remove cargo-culted '#if 0' code that was designed to produce a
compile-time error if any of the bus_space_*_8 functions was used,
but was documented that it produces a link-time error.
 1.22  02-Apr-2020  msaitoh branches: 1.22.4;
s/impliment/implement/ in comment.
 1.21  23-Sep-2019  skrll Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all arches
to follow arm and (generic) mips.

Reviewed by christos.
 1.20  12-Feb-2012  matt branches: 1.20.48;
Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.19  28-Apr-2008  martin branches: 1.19.34; 1.19.38;
Remove clause 3 and 4 from TNF licenses
 1.18  04-Mar-2007  christos branches: 1.18.40; 1.18.42; 1.18.44;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.17  21-Feb-2007  mrg 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.
 1.16  26-May-2006  tsutsui branches: 1.16.12;
Tweak bus_space_barrier(9) macro to appease
"left-hand operand of comma expression has no effect"
warnings by gcc4.
 1.15  01-Mar-2006  yamt branches: 1.15.2; 1.15.8;
merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
 1.14  16-Feb-2006  perry 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@.
 1.13  24-Dec-2005  perry branches: 1.13.2; 1.13.4; 1.13.6;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.12  11-Dec-2005  christos merge ktrace-lwp.
 1.11  09-Mar-2005  matt branches: 1.11.4;
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.
 1.10  06-Feb-2005  tsutsui one more u_intNN_t -> uintNN_t
 1.9  06-Feb-2005  tsutsui Misc cleanup:
- ANSI function decls
- remove __P()
- u_intNN_t -> uintNN_t
- remove register decls
- bcopy -> memcpy, strcpy
- bzero -> memset
- bcmp -> memcmp
- use malloc(9) with M_ZERO
- some KNF
etc.
 1.8  15-Jun-2003  fvdl branches: 1.8.2; 1.8.10; 1.8.12;
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.
 1.7  28-Jan-2003  kent Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it.
 1.6  17-Mar-2002  simonb 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.
 1.5  14-Nov-2001  thorpej branches: 1.5.2;
Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
 1.4  19-Jul-2001  thorpej branches: 1.4.4;
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.
 1.3  07-Mar-2001  thorpej branches: 1.3.2;
Add the BUS_DMA_STREAMING flag.
 1.2  18-Oct-2000  onoe branches: 1.2.2; 1.2.4;
Move APbus dependent unmapped DMA address stuff from bus.c to apbus.c
Support DMA mapping table with NEWSMIPS_DMAMAP_MAPTBL flag for APbus
(MAPTBL is not tested yet).
 1.1  12-Oct-2000  onoe Bus I/O and DMA access macros/routines.
 1.2.4.1  09-Apr-2001  nathanw Catch up with -current.
 1.2.2.3  12-Mar-2001  bouyer Sync with HEAD.
 1.2.2.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.2.2.1  18-Oct-2000  bouyer file bus.h was added on branch thorpej_scsipi on 2000-11-20 20:17:24 +0000
 1.3.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.2.1  03-Aug-2001  lukem update to -current
 1.4.4.1  13-Nov-2001  thorpej Make the newsmips port compile with the thorpej-mips-cache branch.
 1.5.2.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.5.2.1  14-Nov-2001  nathanw file bus.h was added on branch nathanw_sa on 2002-04-01 07:41:42 +0000
 1.8.12.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.8.12.1  12-Feb-2005  yamt sync with head.
 1.8.10.1  29-Apr-2005  kent sync with -current
 1.8.2.2  01-Apr-2005  skrll Sync with HEAD.
 1.8.2.1  06-Feb-2005  skrll Sync with HEAD.
 1.11.4.3  03-Sep-2007  yamt sync with head.
 1.11.4.2  26-Feb-2007  yamt sync with head.
 1.11.4.1  21-Jun-2006  yamt sync with head.
 1.13.6.2  01-Jun-2006  kardel Sync with head.
 1.13.6.1  22-Apr-2006  simonb Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.13.2.2  18-Feb-2006  yamt _dm_proc -> _dm_vmspace.
 1.13.2.1  18-Feb-2006  yamt sync with head.
 1.15.8.1  19-Jun-2006  chap Sync with head.
 1.15.2.1  26-Jun-2006  yamt sync with head.
 1.16.12.2  12-Mar-2007  rmind Sync with HEAD.
 1.16.12.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.18.44.1  16-May-2008  yamt sync with head.
 1.18.42.1  18-May-2008  yamt sync with head.
 1.18.40.1  02-Jun-2008  mjf Sync with HEAD.
 1.19.38.1  18-Feb-2012  mrg merge to -current.
 1.19.34.1  17-Apr-2012  yamt sync with head
 1.20.48.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.20.48.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.22.4.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed