Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sun3/dev/esp.c
RevisionDateAuthorComments
 1.30  20-Dec-2024  tsutsui Remove trailing whitespace.
 1.29  02-Jun-2024  andvar fix various typos in word `interrupt', mainly in comments.
 1.28  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.27  13-Apr-2008  tsutsui branches: 1.27.2; 1.27.4;
Split device_t/softc for MI ncr53c9x and some related devices,
with various cleanup.
 1.26  04-Mar-2007  christos branches: 1.26.40;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.25  03-Feb-2007  tsutsui branches: 1.25.2;
Make esp and its dma on 3/80 use bus_dma(9).

XXX: Maybe we should consider to use MI sys/dev/ic/lsi64854.c.
 1.24  23-Jan-2007  tsutsui Use bus_space(9).
 1.23  28-Mar-2006  thorpej branches: 1.23.8;
Use device_unit().
 1.22  08-Mar-2006  lukem branches: 1.22.2;
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
 1.21  11-Dec-2005  christos branches: 1.21.4; 1.21.6; 1.21.8; 1.21.10;
merge ktrace-lwp.
 1.20  30-Jan-2005  tsutsui branches: 1.20.6;
Enable NCR_F_DMASELECT to use DMA xfer on command/selection phase.

It didn't work on sun3x when I and gwr tried back in April 1999,
but now it just works fine.
 1.19  22-Jan-2005  chs branches: 1.19.2;
de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.
 1.18  15-Jul-2003  lukem branches: 1.18.8;
__KERNEL_RCSID()
 1.17  02-Oct-2002  thorpej branches: 1.17.6;
Add trailing ; to CFATTACH_DECL.
 1.16  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.15  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.14  25-Apr-2001  bouyer branches: 1.14.2; 1.14.8;
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.13  29-Mar-2001  petrov use NCR_F_DMASELECT instead of ncr53c9x_dmaselect
 1.12  05-Jun-2000  nisimura branches: 1.12.4;
Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater
and scsipi_device respectively, with size reduction of ncr53c9x_softc.
Specifying NULL instructs the driver to use default adapter and default
device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.
 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  08-Apr-1999  gwr branches: 1.10.2; 1.10.8; 1.10.16;
Make "dma" a real device so it can attach before esp.
Also pull in some changes from the sparc version.
 1.9  19-Nov-1998  thorpej Adapt to the new scsipi_adapter interface.
 1.8  10-Oct-1998  thorpej Garbage-collect the open_target_lu and close_target_lu entry points from
struct scsipi_adapter; they were not used.

Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.

Inspired by PR #6090, from Matt Jacob.
 1.7  05-Feb-1998  gwr Merge arch/sun3x into arch/sun3
 1.6  12-Jan-1998  thorpej branches: 1.6.4;
Update for config changes.
 1.5  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.4  27-Jun-1997  jeremy branches: 1.4.2; 1.4.4;
Add reference to DMA selection variable used in dev/ic/ncr53c9x.c and sample
code to enable it. Currently commented out.
 1.3  20-Mar-1997  gwr Now using dev/ic/ncr53c9x.c
 1.2  15-Mar-1997  is New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
 1.1  24-Feb-1997  jeremy branches: 1.1.1; 1.1.2;
Initial revision
 1.1.2.1  12-Mar-1997  is Merge in Changes from The Trunk.
 1.1.1.1  24-Feb-1997  jeremy Initial import from SPARC port.
 1.4.4.1  27-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.4.2.1  01-Jul-1997  bouyer Updates for new scsipi subsystem. Actally known to work on i386 and sparc.
 1.6.4.1  27-Jan-1998  gwr Merged Sun3 and Sun3X kernel sources.
 1.10.16.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.10.8.3  21-Apr-2001  bouyer Sync with HEAD
 1.10.8.2  29-Mar-2001  bouyer Test-compile on i386.
 1.10.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.10.2.2  08-Apr-1999  gwr Make "dma" a real device so it can attach before esp.
Also pull in some changes from the sparc version.
 1.10.2.1  08-Apr-1999  gwr file esp.c was added on branch netbsd-1-4 on 1999-04-08 04:46:42 +0000
 1.12.4.2  21-Jun-2001  nathanw Catch up to -current.
 1.12.4.1  09-Apr-2001  nathanw Catch up with -current.
 1.14.8.2  18-Oct-2002  nathanw Catch up to -current.
 1.14.8.1  25-Apr-2001  nathanw file esp.c was added on branch nathanw_sa on 2002-10-18 02:40:19 +0000
 1.14.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.17.6.5  04-Feb-2005  skrll Sync with HEAD.
 1.17.6.4  24-Jan-2005  skrll Sync with HEAD.
 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.18.8.1  29-Apr-2005  kent sync with -current
 1.19.2.1  12-Feb-2005  yamt sync with head.
 1.20.6.3  03-Sep-2007  yamt sync with head.
 1.20.6.2  26-Feb-2007  yamt sync with head.
 1.20.6.1  21-Jun-2006  yamt sync with head.
 1.21.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.21.8.2  01-Apr-2006  yamt sync with head.
 1.21.8.1  13-Mar-2006  yamt sync with head.
 1.21.6.1  22-Apr-2006  simonb Sync with head.
 1.21.4.1  09-Sep-2006  rpaulo sync with head
 1.22.2.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.23.8.2  09-Feb-2007  ad Sync with HEAD.
 1.23.8.1  01-Feb-2007  ad Sync with head.
 1.25.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.26.40.1  02-Jun-2008  mjf Sync with HEAD.
 1.27.4.1  16-May-2008  yamt sync with head.
 1.27.2.1  18-May-2008  yamt sync with head.

RSS XML Feed