Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/mvme68k/dev/sbic.c
RevisionDateAuthorComments
 1.37  08-Sep-2024  rillig fix a/an grammar in obvious cases
 1.36  09-Feb-2022  andvar branches: 1.36.10;
fix various typos in comments.
 1.35  08-Mar-2018  mrg fix various gcc6 m68k issues:
- bad indentation. next68k en.c and mvme68k le_poll.c fixes real issues
in error handling, the rest are NFCI.
- pass 68030 flags as appropriate for mvme68k.
- next68k nextrom.c has -Warray-bounds ignored for an odd expression
that appears to run before relocation, and needs manual offsets
added which trips bounds array checking.

with this all m68k ports build with GCC 6.
 1.34  24-Mar-2014  christos branches: 1.34.28;
use cpu_{g,s}etmodel
fix unused
 1.33  27-Oct-2012  chs branches: 1.33.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.32  12-Jan-2008  tsutsui branches: 1.32.44; 1.32.54;
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.31  17-Oct-2007  garbled branches: 1.31.2; 1.31.8;
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.30  09-Jul-2007  ad branches: 1.30.10;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.29  04-Mar-2007  christos branches: 1.29.2; 1.29.4; 1.29.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.28  08-Mar-2006  lukem branches: 1.28.16;
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
 1.27  11-Dec-2005  christos branches: 1.27.4; 1.27.6; 1.27.8; 1.27.10;
merge ktrace-lwp.
 1.26  03-Jun-2005  scw branches: 1.26.2;
Fix const fallout.
 1.25  01-Nov-2003  scw Quell an uninitialised variable warning.
 1.24  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.23  15-Jul-2003  lukem __KERNEL_RCSID()
 1.22  18-Jun-2003  drochner branches: 1.22.2;
don't #include <sys/dkstat.h> where it is (appearently) unused
 1.21  03-May-2003  wiz DMA, not dma nor Dma.
 1.20  02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.19  20-Oct-2002  chs merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
- use m68k/cacheops.*, remove duplicates from cpu.h.
- centralize a few declarations in (all the copies of) cpu.h.
- define M68K_VAC on platforms which have a VAC.
- switch the sun platforms to the (now common) proc_trampoline().
- do the phys_map thang on the sun platforms too, no reason not to.
 1.18  22-Jul-2001  wiz branches: 1.18.6;
seperate -> separate
 1.17  07-Jul-2001  scw branches: 1.17.2;
bzero -> memset
bcopy -> memcpy
bcmp -> memcmp
 1.16  25-Apr-2001  bouyer Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
(no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
 1.15  29-Jun-2000  mrg branches: 1.15.2;
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.14  26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.13  23-Mar-2000  thorpej New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.12  18-Mar-2000  scw 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.11  13-Nov-1999  scw branches: 1.11.2;
Make this work with the new scsibus mid-layer, using Ignatios' Amiga
fix as a reference.
 1.10  30-Sep-1999  thorpej branches: 1.10.2; 1.10.4; 1.10.8;
Update for SCSIPI changes.
 1.9  20-Feb-1999  scw Add support for the VMEchip2 and the ncr53c710 SCSI IOP.
VMEchip2 support work is ongoing. SCSI is complete.
 1.8  22-Aug-1998  scw vm_offset -> [vp]addr_t and vm_size_t -> [vp]size_t
While I'm here, expunge use of 'register' storage class.
 1.7  04-Jul-1998  jonathan defopt DDB.
 1.6  27-Aug-1997  bouyer Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
 1.5  13-Oct-1996  christos branches: 1.5.8; 1.5.10;
backout previous kprintf change
 1.4  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.3  26-Aug-1996  thorpej Old-style disk instrumentation is long gone, buster!
 1.2  23-Apr-1996  chuck patch from: Steve Woodford <steve@mctavish.demon.co.uk>
fixes the following problems:
- Timeout on START/STOP unit command (ie. when spinning up the drive)
Side effect of this fix is to reduce the busy-wait time in CMD phase.

- Occasionally, the driver would lose an SBIC interrupt, especially when
a tape drive was re-selecting on a busy SCSI bus.
 1.1  18-Apr-1996  chuck new driver: SCSI for VME147
contributed by: Steve Woodford <steve@mctavish.demon.co.uk>

this driver is based on the amiga sbic/33C93 driver. Steve has
cleaned it up and fixed lots of bugs. Note that the original driver
used features which require at least a WD33C93A (the vme147 has the
original WD33C93 chip <no 'A' suffix>). Steve has also written
the DMA routines for the 147 to get things really going. Hardware
scatter-gather DMA and sync. SCSI are not supported (yet). tested
on several disk drives and a tape drive. CD-ROM untested, but
should work.
 1.5.10.1  27-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.5.8.1  01-Jul-1997  bouyer Updates for new scsipi subsystem. Actally known to work on i386 and sparc.
 1.10.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.4.1  15-Nov-1999  fvdl Sync with -current
 1.10.2.3  29-Mar-2001  bouyer Pass compile-test on i386
 1.10.2.2  29-Mar-2001  bouyer Port to thorpej_scsipi.
 1.10.2.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.11.2.1  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.15.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.17.2.1  03-Aug-2001  lukem update to -current
 1.18.6.2  11-Nov-2002  nathanw Catch up to -current
 1.18.6.1  22-Jul-2001  nathanw file sbic.c was added on branch nathanw_sa on 2002-11-11 22:01:23 +0000
 1.22.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.22.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.22.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.22.2.1  03-Aug-2004  skrll Sync with HEAD
 1.26.2.3  21-Jan-2008  yamt sync with head
 1.26.2.2  03-Sep-2007  yamt sync with head.
 1.26.2.1  21-Jun-2006  yamt sync with head.
 1.27.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.27.8.1  13-Mar-2006  yamt sync with head.
 1.27.6.1  22-Apr-2006  simonb Sync with head.
 1.27.4.1  09-Sep-2006  rpaulo sync with head
 1.28.16.1  12-Mar-2007  rmind Sync with HEAD.
 1.29.10.1  03-Oct-2007  garbled Sync with HEAD
 1.29.4.1  11-Jul-2007  mjf Sync with head.
 1.29.2.1  15-Jul-2007  ad Sync with head.
 1.30.10.2  23-Mar-2008  matt sync with HEAD
 1.30.10.1  06-Nov-2007  matt sync with HEAD
 1.31.8.1  19-Jan-2008  bouyer Sync with HEAD
 1.31.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.32.54.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.32.54.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.32.44.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.32.44.1  30-Oct-2012  yamt sync with head
 1.33.2.1  18-May-2014  rmind sync with head
 1.34.28.1  15-Mar-2018  pgoyette Synch with HEAD
 1.36.10.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed