Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/mvme68k/dev/zs_pcc.c
RevisionDateAuthorComments
 1.21  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.20  29-Mar-2008  tsutsui branches: 1.20.2; 1.20.4;
Split softc and device_t for zsc(4) and its children.

XXX we should restructure MI APIs and make it really machine independent.
 1.19  12-Jan-2008  tsutsui branches: 1.19.6;
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.18  11-Dec-2005  christos branches: 1.18.50; 1.18.56; 1.18.64;
merge ktrace-lwp.
 1.17  04-Dec-2003  keihan branches: 1.17.16;
NetBSD.ORG -> NetBSD.org

Now all "NetBSD.ORG" are gone from src/sys.
 1.16  15-Jul-2003  lukem __KERNEL_RCSID()
 1.15  02-Oct-2002  thorpej branches: 1.15.6;
Use CFATTACH_DECL().
 1.14  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.13  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.12  31-May-2001  scw branches: 1.12.2; 1.12.8; 1.12.16;
Deprecate intrcnt/intrnames in favour of the generic evcnt(9) interface.
 1.11  24-Nov-2000  scw branches: 1.11.2;
Revamp the bus_space(9) implementation:
. use a structure for the tag instead of an integer constant,
. add bus_space_{peek,poke}_N() (and G/C `badaddr()'),
. fix a few drivers which have dependencies on the implementation.
 1.10  06-Sep-2000  scw Add preliminary support for the MVME162-LX 200/300 series of boards.

Currently, the major onboard devices are supported (disk, network,
rs232 and VMEbus). However, work is still need to support the remaining
devices (eg. IndustryPack sites).

These boards are available with a dazzling array of build options. At
this time, the following options are *required*:

o Real floating point hardware (the 68LC040 model isn't tested),
o The VMEchip2 must be present,
o If offboard VMEbus RAM is not present, at least 8MB of onboard
RAM is required.
o Even if offboard VMEbus RAM *is* present, at least 4MB of onboard
RAM is required. (Boards with 1 or 2MB onboard RAM *can* be
supported with offboard RAM, but not without some funky values in
the VMEbus Master mapping registers.)

There is no support for boards other than those in the -LX 200/300 series.
 1.9  23-Jul-2000  scw G/C cf_unit. It wasn't really being used in a meaningfull way.
 1.8  18-Mar-2000  scw branches: 1.8.4;
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.7  14-Feb-1999  scw branches: 1.7.8; 1.7.16;
Merge support for mvme167 into main tree.
 1.6  12-Jan-1998  thorpej branches: 1.6.8;
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  17-Dec-1996  gwr Adapt to the new version of dev/ic/z8530*
 1.2  09-Dec-1996  thorpej Copyright assigned to The NetBSD Foundation.
 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.8.1  13-Feb-1999  scw The further adventures of mvme167 support. Mostly working now.
 1.7.16.3  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.7.16.2  14-Mar-2000  scw Get rid of PCC{,TWO}_VADDR(), and some general tidying up.
 1.7.16.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.7.8.2  08-Dec-2000  bouyer Sync with HEAD.
 1.7.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.8.4.1  17-Oct-2000  scw Pullup 1.9 - 1.10 (approved by tv)
Bring support for MVME162 into the 1.5 branch.
 1.11.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.12.16.1  19-May-2002  gehenna Replace the access to devsw table and the hard-coded majors with devsw API.
 1.12.8.3  18-Oct-2002  nathanw Catch up to -current.
 1.12.8.2  17-Sep-2002  nathanw Catch up to -current.
 1.12.8.1  31-May-2001  nathanw file zs_pcc.c was added on branch nathanw_sa on 2002-09-17 21:16:04 +0000
 1.12.2.1  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.15.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.15.6.1  03-Aug-2004  skrll Sync with HEAD
 1.17.16.1  21-Jan-2008  yamt sync with head
 1.18.64.1  19-Jan-2008  bouyer Sync with HEAD
 1.18.56.1  18-Feb-2008  mjf Sync with HEAD.
 1.18.50.1  23-Mar-2008  matt sync with HEAD
 1.19.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.19.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.20.4.1  16-May-2008  yamt sync with head.
 1.20.2.1  18-May-2008  yamt sync with head.

RSS XML Feed