Home | History | Annotate | Download | only in include
History log of /src/sys/arch/bebox/include/isa_machdep.h
RevisionDateAuthorComments
 1.23  12-Dec-2021  andvar s/Miscellanous/Miscellaneous/ in copypasta comments.
 1.22  18-Oct-2016  jdolecek add isa_intr_establish_xname() to MD isa headers so that it can be used
by MI drivers
 1.21  07-Aug-2011  kiyohara branches: 1.21.12; 1.21.30; 1.21.34;
Cleanup headers and variables.
 1.20  19-Aug-2009  dyoung isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.
 1.19  19-Aug-2009  dyoung Define isa_detach_hook() to fix bebox build.
 1.18  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.17  17-Oct-2007  garbled branches: 1.17.16; 1.17.18; 1.17.20;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.16  11-Dec-2005  christos branches: 1.16.30; 1.16.38; 1.16.48; 1.16.50; 1.16.52; 1.16.54;
merge ktrace-lwp.
 1.15  07-Aug-2003  agc branches: 1.15.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.14  09-May-2003  fvdl branches: 1.14.2;
A few ISA sound drivers like to share dma channels, and hence deferred
isa_dmamap_create() calls to their open/close entrypoints. This worked
with some luck, but broke on i386 when _bus_dmamap_create started
to allocate bounce buffers upfront, since memory below 16M may well
not be available when the sound devices is opened for the Nth time.

To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free,
wrappers around already existing bitmask macros. These are expected
to be used before an isa_dmamap_create call, and after an
isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers,
they're deferred until open/close.

All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done
at attach time.
 1.13  06-Jun-2001  matt branches: 1.13.8;
Change bebox port to use the include MPC6XX files and the new common bus.h
framework.
 1.12  15-Nov-2000  thorpej branches: 1.12.2;
Move the ISA DMA cookie into isadma_machdep.c.
 1.11  04-Jun-2000  cgd Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.10  01-Jun-2000  cgd kill __P in these files. (I had to look at them anyway with an eye for
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
 1.9  07-Feb-2000  thorpej branches: 1.9.2;
Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
the maximum transfer size for the specified DMA channel. Make all clients
of ISA DMA use this call to determine their maximum transfer size.
 1.8  19-Mar-1999  cgd branches: 1.8.8;
Moved from arch/bebox/isa/isa_machdep.h,v
 1.7  24-Aug-1998  sakamoto vm_offset_t --> [pv]addr_t.
 1.6  09-Jun-1998  thorpej Add isa_dma{freeze,thaw}(), used to temporarily stop and then restart
all ISA DMA. Needed by e.g. the SmartCard reader for Sharks.
 1.5  09-Jun-1998  thorpej Change the ISA DMA API to take an isa_chipset_tag_t rather than
a struct device * corresponding to the ISA bus device. The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.

These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.
 1.4  03-Jun-1998  thorpej Sync w/ i386 port:

Implement bounce buffers for mbufs.

Also, correct copyright snafus, and a forgot-o left over from a commit
I made yesterday.
 1.3  03-Feb-1998  sakamoto Change bebox_bus_{io,mem}.bus_base to BEBOX_BUS_SPACE_{IO,MEM}.
 1.2  27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1  14-Oct-1997  sakamoto Initial commit of NetBSD/bebox port.
 1.8.8.2  22-Nov-2000  bouyer Sync with HEAD.
 1.8.8.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.9.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.12.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.13.8.2  06-Jun-2001  matt Change bebox port to use the include MPC6XX files and the new common bus.h
framework.
 1.13.8.1  06-Jun-2001  matt file isa_machdep.h was added on branch nathanw_sa on 2001-06-06 17:42:31 +0000
 1.14.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.14.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.14.2.1  03-Aug-2004  skrll Sync with HEAD
 1.15.16.1  27-Oct-2007  yamt sync with head.
 1.16.54.1  25-Oct-2007  bouyer Sync with HEAD.
 1.16.52.1  18-Oct-2007  yamt sync with head.
 1.16.50.1  06-Nov-2007  matt sync with HEAD
 1.16.48.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.16.38.2  08-Jul-2007  ober Updates to make use of the common powerpc pci code base.
 1.16.38.1  28-Jun-2007  ober Updates to move Bebox to the powerpc ISA code.
 1.16.30.1  23-Oct-2007  ad Sync with head.
 1.17.20.2  19-Aug-2009  yamt sync with head.
 1.17.20.1  16-May-2008  yamt sync with head.
 1.17.18.1  18-May-2008  yamt sync with head.
 1.17.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.21.34.1  04-Nov-2016  pgoyette Sync with HEAD
 1.21.30.1  05-Dec-2016  skrll Sync with HEAD
 1.21.12.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed