Home | History | Annotate | Download | only in pci
History log of /src/sys/arch/alpha/pci/lca_dma.c
RevisionDateAuthorComments
 1.28  01-Aug-2023  andvar fix various typos in comments.
 1.27  04-Jul-2021  thorpej Remove unnecessary #include <sys/malloc.h>
 1.26  05-May-2021  thorpej Moar static.
 1.25  11-Oct-2020  thorpej branches: 1.25.6;
Add some bus_dma instrumentation.
 1.24  10-Oct-2020  thorpej G/C alpha_XXX_dmamap() / alpha_XXX_dmamap_or. They haven't been needed
for a long time.
 1.23  06-Feb-2012  matt Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c
 1.22  01-Jul-2011  dyoung branches: 1.22.2; 1.22.6;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.21  15-Dec-2010  matt Remove unneeded includes of <uvm/uvm_extern.h>
 1.20  14-Mar-2009  dsl branches: 1.20.4;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.19  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.18  28-Apr-2008  martin branches: 1.18.8; 1.18.14;
Remove clause 3 and 4 from TNF licenses
 1.17  11-Dec-2005  christos branches: 1.17.74; 1.17.76; 1.17.78;
merge ktrace-lwp.
 1.16  02-Jul-2004  mycroft Actually initialize the direct-mapped DMA window, which is clearly not set up
by the firmware on my Multia. Now PCI devices like the builtin tlp actually
work.
 1.15  19-Jul-2001  thorpej branches: 1.15.2; 1.15.22; 1.15.24;
The LCA isn't supposed to have a DMA prefetch threshold, but experience
has shown is that if we don't allocate a spill page, we get a machine
check. So, initialize the threshold to 256 bytes.
 1.14  03-Jan-2001  thorpej branches: 1.14.4;
The code that creates/destroys SGMAP DMA maps is the same; put it
in a common place and share it.
 1.13  29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.12  14-Aug-1998  thorpej branches: 1.12.12;
vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t
 1.11  06-Jun-1998  thorpej Don't call *_dma_init() twice; there's no need to. Just do it in *attach().
 1.10  03-Jun-1998  thorpej Allow the DMA tag to specify a boundary contraint. If the device has a
more strict boundary, the map will use it, otherwise the map will inherit
the tag's, unless the tag's constraint is 0 (no boundary constraint).
 1.9  13-May-1998  thorpej Add support for chaining DMA windows together, for falling back on
SGMAPs if a direct-mapped window fails.
 1.8  07-May-1998  thorpej Simplify the direct-mapped DMA case somewhat by adding a window base
member to the DMA tag, and calling the direct-mapped back-ends directly,
rather than through chipset-specific front-ends which pass the window
base as an additional argument.
 1.7  04-Feb-1998  thorpej Use the common _bus_dmamap_sync() as the _dmamap_sync method in the
bus_dma_tag_t.
 1.6  17-Jan-1998  thorpej Initialize s/g DMA registers in the same order as the CIA chipset's:
(1) window base
(2) window mask
(3) translation base
 1.5  17-Jan-1998  thorpej Put SGMAP-related stuff in the DMA map structure directly, rather than
indirecting through a pointer.
 1.4  17-Jan-1998  thorpej Update for "minptalign" argument to alpha_sgmap_init().
 1.3  02-Sep-1997  thorpej Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
 1.2  06-Jun-1997  thorpej branches: 1.2.2; 1.2.6;
Pull thorpej-bus-dma branch into mainline.
 1.1  23-May-1997  thorpej branches: 1.1.2;
file lca_dma.c was initially added on branch thorpej-bus-dma.
 1.1.2.4  06-Jun-1997  thorpej Update for pci_pte*_sgmap -> pci_sgmap_pte* change.
 1.1.2.3  05-Jun-1997  thorpej When invalidating the SGMAP TLB, do a memory barrier synch before writing
the TBIA register, as well as after.
 1.1.2.2  03-Jun-1997  thorpej - Adopt to new common sgmap code.
- Fix several bugs, and reduce housekeeping overhead.
 1.1.2.1  23-May-1997  thorpej Add chipset-specific DMA functions. For all of these chipsets, we have
one 1G direct-mapped DMA window at 1G and one 8M SGMAP-mapped DMA window
at 8M.
 1.2.6.1  04-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2.2.2  07-Jun-1997  cgd syng thorpej-bus-dma changes with alpha-nwscons branch
 1.2.2.1  06-Jun-1997  cgd file lca_dma.c was added on branch alpha-nwscons on 1997-06-07 04:43:28 +0000
 1.12.12.2  05-Jan-2001  bouyer Sync with HEAD
 1.12.12.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.14.4.1  03-Aug-2001  lukem update to -current
 1.15.24.1  02-Jul-2004  he Pull up revision 1.16 (requested by mycroft in ticket #582):
Actually initialize the direct-mapped DMA window, which is
clearly not set up by the firmware on the Multia. Now
devices like the built-in tlp actually work.
 1.15.22.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.22.2  18-Sep-2004  skrll Sync with HEAD.
 1.15.22.1  03-Aug-2004  skrll Sync with HEAD
 1.15.2.2  19-Jul-2001  thorpej The LCA isn't supposed to have a DMA prefetch threshold, but experience
has shown is that if we don't allocate a spill page, we get a machine
check. So, initialize the threshold to 256 bytes.
 1.15.2.1  19-Jul-2001  thorpej file lca_dma.c was added on branch nathanw_sa on 2001-07-19 18:47:39 +0000
 1.17.78.2  04-May-2009  yamt sync with head.
 1.17.78.1  16-May-2008  yamt sync with head.
 1.17.76.1  18-May-2008  yamt sync with head.
 1.17.74.1  02-Jun-2008  mjf Sync with HEAD.
 1.18.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.18.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.20.4.1  05-Mar-2011  rmind sync with head
 1.22.6.1  18-Feb-2012  mrg merge to -current.
 1.22.2.1  17-Apr-2012  yamt sync with head
 1.25.6.2  01-Aug-2021  thorpej Sync with HEAD.
 1.25.6.1  13-May-2021  thorpej Sync with HEAD.

RSS XML Feed