Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/mvme68k/dev/vme_pcc.c
RevisionDateAuthorComments
 1.27  20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.26  27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.25  16-Mar-2009  dsl branches: 1.25.12; 1.25.22;
ANSIfy functions with function-pointer arguments
 1.24  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.23  14-Mar-2009  dsl 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.22  28-Apr-2008  martin branches: 1.22.8; 1.22.14;
Remove clause 3 and 4 from TNF licenses
 1.21  12-Jan-2008  tsutsui branches: 1.21.6; 1.21.8; 1.21.10;
Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.20  11-Dec-2005  christos branches: 1.20.50; 1.20.56; 1.20.64;
merge ktrace-lwp.
 1.19  13-Feb-2004  wiz branches: 1.19.16;
Uppercase CPU, plural is CPUs.
 1.18  15-Jul-2003  lukem __KERNEL_RCSID()
 1.17  02-Oct-2002  thorpej branches: 1.17.6;
Use CFATTACH_DECL().
 1.16  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.15  12-Feb-2002  scw Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.14  31-May-2001  scw branches: 1.14.2; 1.14.8;
Deprecate intrcnt/intrnames in favour of the generic evcnt(9) interface.
 1.13  24-Nov-2000  scw branches: 1.13.2;
Add a bus_space_tag_t field to the mvmebus_softc structure and
initialise/use it in the ASIC-specific back-ends.
 1.12  19-Sep-2000  scw Pass the requested cpu irq priority through to the VME chipset-specific
backend.

The VME2chip can use this to translate a VMEbus irq to a cpu irq.

The VMEchip (on mvme147) can't deal with the VMEbus irq and cpu irq
being different so we just panic in that case for now.
 1.11  20-Aug-2000  scw Expand on how VMEbus master addressing modes are specified, to better
deal with dynamic address modifier generation based on the CPU's
function code pins.

Also implement VMEbus slave mode for mvme147. (Not yet 100% working.)
 1.10  13-Aug-2000  scw Pull a bunch of common code from vme_pcc.c and vme_two.c into
the new mvmebus.[ch] files, and put down some initial code to
deal with VMEbus slave mode.
 1.9  24-Jun-2000  scw Make these compile when DIAGNOSTIC isn't defined.
 1.8  04-Jun-2000  cgd branches: 1.8.2;
Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.7  18-Mar-2000  scw branches: 1.7.2;
Merge 'scw_mvme68k_bus_space' branch with the trunk.
These changes add support for:

o The MI VMEbus framework on both MVME147 and MVME167.
o Enhancements to the existing MD bus_space(9) implementation.
o Most of the bus_dma(9) API.
 1.6  12-Jan-1998  thorpej branches: 1.6.16; 1.6.24;
Update for changes to config.
 1.5  09-Oct-1997  jtc Fix tipo inherited from old version of TNF copyright template.
 1.4  19-Mar-1997  gwr branches: 1.4.4;
Change arg two of all the match functions back to struct cfdata
now that __BROKEN_INDIRECT_CONFIG has been removed.
 1.3  13-Oct-1996  christos backout previous kprintf change
 1.2  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.1  26-Apr-1996  chuck - zs: switch to MI driver
- clock, le, pcc, wdsc, zs: convert to new autoconfig scheme
- vme: add vme support

Contributed by: Jason R. Thorpe <thorpej@og.org>
 1.4.4.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.6.24.6  18-Mar-2000  scw Houston, we have VMEbus interrupts.
Also address some KNF issues.
 1.6.24.5  18-Mar-2000  scw Fix local-bus offset of VMEbus windows.
 1.6.24.4  18-Mar-2000  scw MI VMEbus glue more or less complete.
Kernels now compiled with -Wall, etc. (lots of fixes needed for this)
All MD drivers now bus_spaced/bus_dma'd. The two SCSI drivers should
be replaced with bus_spaced MI versions at some point.
 1.6.24.3  14-Mar-2000  scw Get rid of PCC{,TWO}_VADDR(), and some general tidying up.
 1.6.24.2  13-Mar-2000  scw One step closer to getting the VMEbus glue working on mvme167 ...
 1.6.24.1  11-Mar-2000  scw Checkpoint of development of the following features of mvme68k:

. Preliminary support for the MI VMEbus framework.
. Full bus_space* and "mostly-there" bus_dma* support.

At this time, MI VMEbus drivers may well work 'as is' on an MVME147 board.
Work to get the MVME167 to this stage is ongoing.

Testers will be required at some point as I have no VMEbus boards which
have existing MI drivers! (Although I am able to test things in a limited
fashion using a noddy driver and a VMEbus RAM card).

TODO:

. Expunge all remaining use of IIOV() and freinds.
. Flag the 'boot device' using bus_space_tag_t and offset.
. Add a 24bit address constraint to bus_dmamem_alloc() (for le/ie)
. VMEChip2 support on MVME167/MVME177
. Support the mvme68k boards in VMEbus slave mode.
. Anything else I can thing of, besides having another beer. ;-)
 1.6.16.2  08-Dec-2000  bouyer Sync with HEAD.
 1.6.16.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.7.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.8.2.1  25-Jun-2000  scw Pullup from trunk: 1.8-1.9
Authorised by: thorpej

GC an unused variable when DIAGNOSTIC and M68040 are undefined.
 1.13.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.14.8.3  18-Oct-2002  nathanw Catch up to -current.
 1.14.8.2  28-Feb-2002  nathanw Catch up to -current.
 1.14.8.1  31-May-2001  nathanw file vme_pcc.c was added on branch nathanw_sa on 2002-02-28 04:10:51 +0000
 1.14.2.2  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.14.2.1  16-Mar-2002  jdolecek Catch up with -current.
 1.17.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.17.6.1  03-Aug-2004  skrll Sync with HEAD
 1.19.16.1  21-Jan-2008  yamt sync with head
 1.20.64.1  19-Jan-2008  bouyer Sync with HEAD
 1.20.56.1  18-Feb-2008  mjf Sync with HEAD.
 1.20.50.1  23-Mar-2008  matt sync with HEAD
 1.21.10.2  04-May-2009  yamt sync with head.
 1.21.10.1  16-May-2008  yamt sync with head.
 1.21.8.1  18-May-2008  yamt sync with head.
 1.21.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.22.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.22.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.25.22.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.25.12.1  30-Oct-2012  yamt sync with head

RSS XML Feed