Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sparc/dev/sw.c
RevisionDateAuthorComments
 1.26  23-Jan-2023  andvar s/lager/larger/ in comments.
 1.25  22-Nov-2020  thorpej malloc(9) -> kmem(9) (easy, straight-forward cases only, for now)
 1.24  10-Nov-2019  chs branches: 1.24.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.23  01-Jul-2011  dyoung branches: 1.23.54;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.22  16-Dec-2008  christos replace bitmask_snprintf(9) with snprintb(3)
 1.21  28-Apr-2008  martin branches: 1.21.8;
Remove clause 3 and 4 from TNF licenses
 1.20  04-Apr-2008  tsutsui branches: 1.20.2; 1.20.4;
Split devict_t/softc for ncr5380sbc SCSI, and misc cosmetic changes.
 1.19  01-Nov-2007  jnemeth branches: 1.19.16;
typo
 1.18  04-Mar-2007  christos branches: 1.18.2; 1.18.18; 1.18.20; 1.18.24;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.17  29-Mar-2006  thorpej branches: 1.17.14;
Use device_cfdata().
 1.16  16-Nov-2005  uwe branches: 1.16.4; 1.16.6; 1.16.8; 1.16.10; 1.16.12;
Duplicate open curlies in both #if and #else parts confuse
paren-matching in editors, drop them and add one after #endif.
 1.15  16-Nov-2005  uwe 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.14  04-Dec-2003  keihan branches: 1.14.16; 1.14.24;
NetBSD.ORG -> NetBSD.org

Now all "NetBSD.ORG" are gone from src/sys.
 1.13  15-Jul-2003  lukem __KERNEL_RCSID()
 1.12  03-May-2003  wiz branches: 1.12.2;
DMA, not dma nor Dma.
 1.11  10-Dec-2002  pk Remove the `flags' argument from bus_intr_establish().
 1.10  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.9  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.8  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.7  27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.6  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.5  20-Aug-2001  wiz branches: 1.5.6;
precede, not preceed.
 1.4  25-Apr-2001  bouyer branches: 1.4.2;
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.3  09-Jul-2000  pk branches: 1.3.2; 1.3.4; 1.3.6;
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.2  29-Jun-2000  pk When winding down a DMA transfer, don't complain about the actual
transfer count being smaller than the minimum transfer size for which
we would use DMA. The device may be disconnecting, to complete the
transaction at a later time. Just let the 5380 engine proceed acting
on the current SCSI bus phase.
 1.1  26-Jun-2000  pk Split si & sw drivers.
 1.3.6.1  21-Jun-2001  nathanw Catch up to -current.
 1.3.4.3  22-Jan-2001  bouyer GENERIC without isp now compiles
 1.3.4.2  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.3.4.1  09-Jul-2000  bouyer file sw.c was added on branch thorpej_scsipi on 2000-11-20 20:25:34 +0000
 1.3.2.2  22-Jul-2000  pk New in netbsd-1-5: sw.c revision 1.3; swreg.h revision 1.1.

Split si & sw drivers.
 1.3.2.1  09-Jul-2000  pk file sw.c was added on branch netbsd-1-5 on 2000-07-22 21:14:19 +0000
 1.4.2.3  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.4.2.2  16-Mar-2002  jdolecek Catch up with -current.
 1.4.2.1  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.5.6.4  11-Dec-2002  thorpej Sync with HEAD.
 1.5.6.3  18-Oct-2002  nathanw Catch up to -current.
 1.5.6.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.5.6.1  20-Aug-2001  nathanw file sw.c was added on branch nathanw_sa on 2002-04-01 07:42:43 +0000
 1.12.2.4  11-Dec-2005  christos Sync with head.
 1.12.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.2.1  03-Aug-2004  skrll Sync with HEAD
 1.14.24.1  22-Nov-2005  yamt sync with head.
 1.14.16.3  15-Nov-2007  yamt sync with head.
 1.14.16.2  03-Sep-2007  yamt sync with head.
 1.14.16.1  21-Jun-2006  yamt sync with head.
 1.16.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.16.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.16.8.1  01-Apr-2006  yamt sync with head.
 1.16.6.1  22-Apr-2006  simonb Sync with head.
 1.16.4.1  09-Sep-2006  rpaulo sync with head
 1.17.14.1  12-Mar-2007  rmind Sync with HEAD.
 1.18.24.1  13-Nov-2007  bouyer Sync with HEAD
 1.18.20.1  06-Nov-2007  matt sync with HEAD
 1.18.18.1  04-Nov-2007  jmcneill Sync with HEAD.
 1.18.2.1  03-Dec-2007  ad Sync with HEAD.
 1.19.16.2  17-Jan-2009  mjf Sync with HEAD.
 1.19.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.20.4.2  04-May-2009  yamt 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.
 1.21.8.1  19-Jan-2009  skrll Sync with HEAD.
 1.23.54.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.24.8.1  14-Dec-2020  thorpej Sync w/ HEAD.

RSS XML Feed