Home | History | Annotate | Download | only in include
History log of /src/sys/arch/vax/include/bus.h
RevisionDateAuthorComments
 1.36  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.35  24-Sep-2019  maya branches: 1.35.8;
Avoid duplicate PRIxBUSADDR and follow the likely intention, providing PRIxBSH.
 1.34  23-Sep-2019  skrll Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all arches
to follow arm and (generic) mips.

Reviewed by christos.
 1.33  22-Apr-2016  christos branches: 1.33.18;
Elide unused variable warnings (Felix Deichmann)
 1.32  05-Jul-2015  matt Hooks needed for QVSS support
 1.31  28-Apr-2008  martin branches: 1.31.44; 1.31.64;
Remove clause 3 and 4 from TNF licenses
 1.30  11-Mar-2008  matt branches: 1.30.2; 1.30.4;
Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
code. Move to prototype definitions. staticfy, constify, avoid casting.
Use device_* accessors.
 1.29  03-Feb-2008  matt branches: 1.29.2; 1.29.6;
change all u_int{8,16,32}_t to uint{8,16,32}_t
 1.28  04-Mar-2007  christos branches: 1.28.20; 1.28.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.27  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.26  16-Feb-2006  perry branches: 1.26.20;
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.25  24-Dec-2005  perry branches: 1.25.2; 1.25.4; 1.25.6;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.24  11-Dec-2005  christos merge ktrace-lwp.
 1.23  09-Mar-2005  matt branches: 1.23.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.22  15-Jun-2003  fvdl branches: 1.22.2; 1.22.10; 1.22.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.21  28-Jan-2003  kent Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it.
 1.20  01-Dec-2002  matt Add multiple inclusion protection.
 1.19  15-Nov-2002  ragge Fix vax_mem_read_region_{2,4} bug, by der Mouse (mouse@Rodents.Montreal.QC.CA).
 1.18  16-Sep-2001  ragge branches: 1.18.4;
Add bus_space_mmap().
 1.17  19-Jul-2001  thorpej branches: 1.17.2;
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.16  21-Jun-2001  wiz branches: 1.16.2;
constraint, not contraint.
 1.15  07-Mar-2001  thorpej Add the BUS_DMA_STREAMING flag.
 1.14  26-Jun-2000  simonb branches: 1.14.2;
Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.13  04-Jun-2000  ragge branches: 1.13.2;
Forward declaration of `struct proc'.
 1.12  10-Apr-2000  matt branches: 1.12.2;
Add fix for VS4000 SCSI hangs on disk writes. Add a VAX_BUS_DMA_SPILLPAGE
and use it in the asc_vsbus driver.
 1.11  15-Mar-2000  drochner explicitely #include <sys/systm.h> #if BUS_SPACE_DEBUG to get a printf()
prototype
 1.10  05-Mar-2000  matt fix bug in bus_space_subregion
 1.9  25-Jan-2000  drochner define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
device accesses are idempotent (but should not be cached by the CPU)
 1.8  18-Jun-1999  cgd branches: 1.8.2;
nuke current definitions provided by __BUS_SPACE_COMPAT_OLDDEFS.
I'll do what I can to make new ones soon. 8-)
 1.7  06-Jun-1999  ragge Add an define for SGMAP.
 1.6  24-May-1999  ragge bus.h'ify more of the vax code.
 1.5  14-Apr-1999  ragge First towards use of bus.h routines on vax. Allocate DMA memory for
LANCE chip on vaxstations.
 1.4  23-Mar-1999  drochner branches: 1.4.4;
Add a macro to check for sufficient pointer alignment in bus.h context,
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
 1.3  09-Oct-1998  matt Fix some old mistakes when I originally committed this.
 1.2  30-Aug-1998  cgd don't define __BUS_SPACE_COMPAT_OLDDEFS by default. As stated in
bus_space(9), if drivers want it (they shouldn't; easy to convert) they
can define it right before including bus.h. There's been a release since
the interfaces were (slightly) changed, and no code in the source tree
uses the old interfaces as far as I can tell.
 1.1  18-Aug-1998  matt Initial steps to getting the VAX to use the MI driver framework.
 1.4.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.8.2.2  12-Mar-2001  bouyer Sync with HEAD.
 1.8.2.1  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.12.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.13.2.1  30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.14.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.16.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.16.2.1  03-Aug-2001  lukem update to -current
 1.17.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.18.4.2  11-Dec-2002  thorpej Sync with HEAD.
 1.18.4.1  16-Sep-2001  thorpej file bus.h was added on branch nathanw_sa on 2002-12-11 06:12:38 +0000
 1.22.12.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.22.10.1  29-Apr-2005  kent sync with -current
 1.22.2.1  01-Apr-2005  skrll Sync with HEAD.
 1.23.4.4  17-Mar-2008  yamt sync with head.
 1.23.4.3  04-Feb-2008  yamt sync with head.
 1.23.4.2  03-Sep-2007  yamt sync with head.
 1.23.4.1  26-Feb-2007  yamt sync with head.
 1.25.6.1  22-Apr-2006  simonb Sync with head.
 1.25.4.1  09-Sep-2006  rpaulo sync with head
 1.25.2.1  18-Feb-2006  yamt sync with head.
 1.26.20.2  12-Mar-2007  rmind Sync with HEAD.
 1.26.20.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.28.26.1  18-Feb-2008  mjf Sync with HEAD.
 1.28.20.1  23-Mar-2008  matt sync with HEAD
 1.29.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.29.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.29.2.1  24-Mar-2008  keiichi sync with head.
 1.30.4.1  16-May-2008  yamt sync with head.
 1.30.2.1  18-May-2008  yamt sync with head.
 1.31.64.2  29-May-2016  skrll Sync with HEAD
 1.31.64.1  22-Sep-2015  skrll Sync with HEAD
 1.31.44.1  03-Dec-2017  jdolecek update from HEAD
 1.33.18.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.35.8.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed