summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc/dev/dma.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Celebrate OpenBSD 6.0 release by retiring the sparc port.tedu2016-09-011-692/+0
| | | | | You've served us well, good friend, but now it's time to rest. ok deraadt
* Add a bus_dma_tag_t for DVMA usage, suitable for use for devices not sittingmiod2015-03-301-12/+15
| | | | | | | | | | | | | | | | | behind a sun4m iommu. Move the existing dvma routines from vm_machdep.c to this new dvma.c; this allows for a few declarations to be removed from public headers. Extend the device attachment arguments (struct confargs) to pass a bus_dma_tag_t. mainbus receives the dvma bus_dma_tag_t, and devices pass the tag unchanged to their children, except for iommu(4) which replaces it with its own. Change the few sun4m-only drivers to pick the bus_dma_tag_t from confargs rather than assume iommu; this allows qlw(4) to attach and work on sun4c. ok kettenis@
* On SPARCbook systems, the ledma device node has a `cable-selection' propertymiod2014-07-281-1/+8
| | | | | | | | | | | specifying which media the on-board interface uses. We already query it to set up proper register values; extend this to be able to pass a default media to the le(4) child. This makes SPARCbook system default to AUI without needing for a manual media change. tested by sebastia@
* format string fixes and removal of -Wno-format for sparc kernels.miod2014-05-091-6/+6
|
* sun4e (i.e. SPARCengine 1e) support. This platform is a mix between sun4 andmiod2010-07-101-6/+6
| | | | | | sun4c, as it has a sun4c OpenPROM but a sun4 8KB pagesize. VME devices are not supported yet. ok deraadt@
* make sparc compile again after tag team viking/guenther breakage.beck2010-06-271-1/+3
| | | | ok kettenis@
* Don't #include <sys/user.h> into files that don't need the stuffguenther2010-06-261-2/+1
| | | | | | | | it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@
* Correctly report unconfigured child devices.miod2008-12-261-2/+2
|
* use the right capitalization for `SBus'sobrado2007-05-291-2/+2
| | | | ok jmc@
* ``it's'' -> ``its'' when the grammar gods require this change.miod2007-04-101-2/+2
|
* sbus_establish() and the associated linked list in the sbus softc is now onlymiod2006-06-021-4/+1
| | | | | | used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
* Support for SUNW,fas SCSI, currently restricted to the lower 8 targets duemiod2005-03-021-43/+94
| | | | | | to MI esp code limitations. ok deraadt@
* Use the DMA defines from dev/ic/lsi64854reg.h whenever possible; no functionalmiod2005-02-271-17/+17
| | | | | | change. ok deraadt@
* Trivial touches to compile with gcc 3.miod2004-02-011-1/+2
|
* 3/4 knockout for peter galbavyderaadt2003-06-051-6/+1
|
* First round of __P removal in sysmillert2002-03-141-15/+15
|
* roundup(foo, NBPG) -> round_page(foo)art1999-09-101-2/+2
|
* vm_offset_t -> {v,p}addr_t and vm_size_t -> {v,p}size_tart1999-07-091-13/+13
| | | | | remove "register" keywords Various cleanups.
* conditionalize use of sbus_testdma()jason1999-02-281-1/+5
|
* A few more dma in non-dma slot checksjason1998-11-111-3/+23
|
* do not print fake slot numbersderaadt1998-07-051-2/+2
|
* sync with netbsd: 4/300 dma fixjason1998-02-051-7/+18
|
* Undo the 4/300 dmaselect hack and fix it correctlyjason1998-01-281-1/+4
|
* NETBSD_CURRENT_970916. Lot's just ID changes, since changes don't apply todownsj1997-09-171-2/+2
| | | | | us. Includes some pmap changes, for which I don't have the original commit message(s) handy.
* Mostly sync to NetBSD-current 970804.downsj1997-08-081-78/+152
| | | | | GENERIC currently compiles and runs; some devices (isp) are not complete and not yet enabled.
* added const to second parameter of cfprint_t routineskstailey1996-11-231-2/+2
|
* netbsd port, now we merge our changes back inderaadt1996-08-111-292/+336
|
* dmamatch never added in the offset for the dma registers to the VA,chuck1996-01-121-1/+1
| | | | | | | | | and thus probed the wrong address on the 4/300 (but it worked because it was probing the esp0 registers!). now that bus_tmp() adds the offset in for us [as of obio 1.15] i discoved that a byte access to the dma registers is not allowed. so, i've change probeget to use a word access.
* new mapdev/()/mapiodev() calling convention uses "struct rom_reg *" to supplyderaadt1995-12-151-1/+1
| | | | | base plus an offset new dvma routines
* fix copyrightsderaadt1995-11-211-3/+30
|
* new driver by mederaadt1995-10-181-164/+251
|
* initial import of NetBSD treederaadt1995-10-181-0/+367