Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sparc/dev/esp_obio.c
RevisionDateAuthorComments
 1.24  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.23  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.22  13-Apr-2008  tsutsui branches: 1.22.2; 1.22.4;
Split device_t/softc for MI ncr53c9x and some related devices,
with various cleanup.
 1.21  12-Feb-2008  joerg branches: 1.21.6;
Introduce device_find_by_xname and device_find_by_driver_unit to replace
alldevs iterations all over src.

Patch discussed with and improved on suggestioned from cube@.
 1.20  04-Mar-2007  christos branches: 1.20.20; 1.20.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.19  28-Mar-2006  thorpej branches: 1.19.14;
Use device_unit().
 1.18  08-Mar-2006  lukem branches: 1.18.2;
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
 1.17  16-Nov-2005  uwe branches: 1.17.4; 1.17.6; 1.17.8; 1.17.10;
ANSIify function declarations/defintions. Use uint<N>_t.
Propagate "static" to function definitions. Drop trailing whitespace.
Same binary code is produced for GENERIC.MP + KGDB + DDB.
 1.16  15-Jul-2003  lukem branches: 1.16.16; 1.16.24;
__KERNEL_RCSID()
 1.15  10-Dec-2002  pk branches: 1.15.6;
Remove the `flags' argument from bus_intr_establish().
 1.14  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.13  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.12  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.11  11-Mar-2002  pk * `bus_type_t' is gone.
* Use BUS_ADDR() where appropriate to encode I/O space and physical
address offset into a `bus_addr_t' value.
* Drop obio_bus_map() since it's now completely equivalent to bus_space_map()
* Use bus_space_map2() to map device space at a fixed virtual address.
* Remove the virtual address argument from sbus_sbus_addr()
 1.10  25-Apr-2001  bouyer branches: 1.10.2; 1.10.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.9  29-Mar-2001  petrov use NCR_F_DMASELECT instead of ncr53c9x_dmaselect
 1.8  09-Jul-2000  pk branches: 1.8.2;
Add a `device class' interrupt level argument (from machine/intr.h)
to bus_interrupt_establish().

It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI slots.
 1.7  05-Jun-2000  nisimura branches: 1.7.2;
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.6  04-Jun-2000  cgd Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.5  11-Jan-2000  pk branches: 1.5.2;
Remove old-style boot device recognition.
 1.4  19-Nov-1998  thorpej branches: 1.4.10;
Adapt to the new scsipi_adapter interface.
 1.3  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.2  29-Aug-1998  pk Adjust for some small changes in lsi64854 back-end driver.
 1.1  29-Aug-1998  pk Split `esp' driver and DMA engine into separate front-end files.
The Sbus front-ends have all been moved to `sys/dev/sbus', while
the `obio' front-ends remain here.
 1.4.10.3  21-Apr-2001  bouyer Sync with HEAD
 1.4.10.2  23-Mar-2001  bouyer Correct attach to ncr53c9x.
 1.4.10.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.5.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.7.2.1  19-Jul-2000  mrg pull up sparc/sparc64 bus_intr_establish() changes, necessary for sparc64
(originally done by pk, approved by thorpej):

>Add a `device class' interrupt level argument (from machine/intr.h)
>to bus_interrupt_establish().
>
>It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
>level to devices in PCI slots.
 1.8.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.8.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.10.8.4  11-Dec-2002  thorpej Sync with HEAD.
 1.10.8.3  18-Oct-2002  nathanw Catch up to -current.
 1.10.8.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.10.8.1  25-Apr-2001  nathanw file esp_obio.c was added on branch nathanw_sa on 2002-04-01 07:42:40 +0000
 1.10.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.10.2.1  16-Mar-2002  jdolecek Catch up with -current.
 1.15.6.4  11-Dec-2005  christos Sync with head.
 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.16.24.1  22-Nov-2005  yamt sync with head.
 1.16.16.3  27-Feb-2008  yamt sync with head.
 1.16.16.2  03-Sep-2007  yamt sync with head.
 1.16.16.1  21-Jun-2006  yamt sync with head.
 1.17.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.17.8.2  01-Apr-2006  yamt sync with head.
 1.17.8.1  13-Mar-2006  yamt sync with head.
 1.17.6.1  22-Apr-2006  simonb Sync with head.
 1.17.4.1  09-Sep-2006  rpaulo sync with head
 1.18.2.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.19.14.1  12-Mar-2007  rmind Sync with HEAD.
 1.20.26.1  18-Feb-2008  mjf Sync with HEAD.
 1.20.20.1  23-Mar-2008  matt sync with HEAD
 1.21.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.22.4.1  16-May-2008  yamt sync with head.
 1.22.2.1  18-May-2008  yamt sync with head.

RSS XML Feed