Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/macppc/dev/esp.c
RevisionDateAuthorComments
 1.35  02-Jun-2024  andvar s/interuppts/interrupts/ and s/intruppts/interrupts/ in comment and log message.
 1.34  20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.33  05-Mar-2021  rin Convert to intr_establish_xname().
 1.32  15-Jul-2016  macallan branches: 1.32.28;
adjust to dbdma changes
 1.31  30-Jun-2011  matt branches: 1.31.12; 1.31.30; 1.31.34;
Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
 1.30  20-Dec-2010  matt Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.29  27-Nov-2009  rmind branches: 1.29.4;
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
 1.28  26-Sep-2009  tsutsui Make local functions static.
 1.27  26-Sep-2009  tsutsui Replace shutdownhook_establish(9) with pmf_device_register1(9).
Compile test only, but similar to mesh.c.
 1.26  16-Dec-2008  christos replace bitmask_snprintf(9) with snprintb(3)
 1.25  28-Apr-2008  martin branches: 1.25.8;
Remove clause 3 and 4 from TNF licenses
 1.24  13-Apr-2008  tsutsui branches: 1.24.2; 1.24.4;
Split device_t/softc for MI ncr53c9x and some related devices,
with various cleanup.
 1.23  17-Oct-2007  garbled branches: 1.23.16;
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.22  05-Mar-2007  tsutsui branches: 1.22.2; 1.22.10; 1.22.18; 1.22.20; 1.22.22; 1.22.24;
Use (char *) cast on pointer arith.
 1.21  04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.20  08-Mar-2006  lukem branches: 1.20.16;
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
 1.19  11-Dec-2005  christos branches: 1.19.4; 1.19.6; 1.19.8; 1.19.10;
merge ktrace-lwp.
 1.18  15-Jul-2003  lukem branches: 1.18.16;
__KERNEL_RCSID()
 1.17  03-May-2003  wiz branches: 1.17.2;
DMA, not dma nor Dma.
 1.16  02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.15  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.14  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.13  25-Apr-2001  bouyer branches: 1.13.2; 1.13.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.12  29-Mar-2001  petrov use NCR_F_DMASELECT instead of ncr53c9x_dmaselect
 1.11  26-Jun-2000  mrg branches: 1.11.2;
<vm/vm_param.h> -> <uvm/uvm_param.h>
 1.10  05-Jun-2000  nisimura 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.9  19-Nov-1998  thorpej branches: 1.9.10; 1.9.18;
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-Sep-1998  pk Relinquish my copyright claims on this file.
 1.6  15-Aug-1998  mycroft Minor edit.
 1.5  15-Aug-1998  mycroft Assign copyright to TNF.
 1.4  19-Jun-1998  tsubai Move shutdownhook_establish before the attachment of common parts.
 1.3  05-Jun-1998  tsubai Add support for UVM and MACHINE_NEW_NONCONTIG.
 1.2  30-May-1998  tsubai Remove unnecessary cache flush.
 1.1  15-May-1998  tsubai Initial import of macppc port.
 1.9.18.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.9.10.3  21-Apr-2001  bouyer Sync with HEAD
 1.9.10.2  29-Mar-2001  bouyer Pass compile-test on i386
 1.9.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.11.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.11.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.13.8.2  18-Oct-2002  nathanw Catch up to -current.
 1.13.8.1  25-Apr-2001  nathanw file esp.c was added on branch nathanw_sa on 2002-10-18 02:38:34 +0000
 1.13.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.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.17.2.1  03-Aug-2004  skrll Sync with HEAD
 1.18.16.3  27-Oct-2007  yamt sync with head.
 1.18.16.2  03-Sep-2007  yamt sync with head.
 1.18.16.1  21-Jun-2006  yamt sync with head.
 1.19.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.19.8.1  13-Mar-2006  yamt sync with head.
 1.19.6.1  22-Apr-2006  simonb Sync with head.
 1.19.4.1  09-Sep-2006  rpaulo sync with head
 1.20.16.1  12-Mar-2007  rmind Sync with HEAD.
 1.22.24.1  25-Oct-2007  bouyer Sync with HEAD.
 1.22.22.1  18-Oct-2007  yamt sync with head.
 1.22.20.1  06-Nov-2007  matt sync with HEAD
 1.22.18.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.22.10.1  11-May-2007  macallan request the correct interrupt type in a couple drivers - necessary since
these days we actually do something with the type argument
 1.22.2.1  23-Oct-2007  ad Sync with head.
 1.23.16.2  17-Jan-2009  mjf Sync with HEAD.
 1.23.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.24.4.3  11-Mar-2010  yamt sync with head
 1.24.4.2  04-May-2009  yamt sync with head.
 1.24.4.1  16-May-2008  yamt sync with head.
 1.24.2.1  18-May-2008  yamt sync with head.
 1.25.8.1  19-Jan-2009  skrll Sync with HEAD.
 1.29.4.1  05-Mar-2011  rmind sync with head
 1.31.34.1  26-Jul-2016  pgoyette Sync with HEAD
 1.31.30.1  05-Oct-2016  skrll Sync with HEAD
 1.31.12.1  03-Dec-2017  jdolecek update from HEAD
 1.32.28.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed