freebsd-skq/sys/dev/isp
Scott Long 52c9ce25d8 Separate the parallel scsi knowledge out of the core of the XPT, and
modularize it so that new transports can be created.

Add a transport for SATA

Add a periph+protocol layer for ATA

Add a driver for AHCI-compliant hardware.

Add a maxio field to CAM so that drivers can advertise their max
I/O capability.  Modify various drivers so that they are insulated
from the value of MAXPHYS.

The new ATA/SATA code supports AHCI-compliant hardware, and will override
the classic ATA driver if it is loaded as a module at boot time or compiled
into the kernel.  The stack now support NCQ (tagged queueing) for increased
performance on modern SATA drives.  It also supports port multipliers.

ATA drives are accessed via 'ada' device nodes.  ATAPI drives are
accessed via 'cd' device nodes.  They can all be enumerated and manipulated
via camcontrol, just like SCSI drives.  SCSI commands are not translated to
their ATA equivalents; ATA native commands are used throughout the entire
stack, including camcontrol.  See the camcontrol manpage for further
details.  Testing this code may require that you update your fstab, and
possibly modify your BIOS to enable AHCI functionality, if available.

This code is very experimental at the moment.  The userland ABI/API has
changed, so applications will need to be recompiled.  It may change
further in the near future.  The 'ada' device name may also change as
more infrastructure is completed in this project.  The goal is to
eventually put all CAM busses and devices until newbus, allowing for
interesting topology and management options.

Few functional changes will be seen with existing SCSI/SAS/FC drivers,
though the userland ABI has still changed.  In the future, transports
specific modules for SAS and FC may appear in order to better support
the topologies and capabilities of these technologies.

The modularization of CAM and the addition of the ATA/SATA modules is
meant to break CAM out of the mold of being specific to SCSI, letting it
grow to be a framework for arbitrary transports and protocols.  It also
allows drivers to be written to support discrete hardware without
jeopardizing the stability of non-related hardware.  While only an AHCI
driver is provided now, a Silicon Image driver is also in the works.
Drivers for ICH1-4, ICH5-6, PIIX, classic IDE, and any other hardware
is possible and encouraged.  Help with new transports is also encouraged.

Submitted by:	scottl, mav
Approved by:	re
2009-07-10 08:18:08 +00:00
..
DriverManual.txt
Hardware.txt
isp_freebsd.c Change uses of the struct ccb_hdr timeout_ch missed when isp(4) was 2009-05-10 20:14:19 +00:00
isp_freebsd.h Separate the parallel scsi knowledge out of the core of the XPT, and 2009-07-10 08:18:08 +00:00
isp_ioctl.h Remove some ioctls that were ill-thought out. There is no user 2007-06-11 19:15:49 +00:00
isp_library.c Recover from some major omissions/problems with the 24XX port. 2007-07-02 20:08:20 +00:00
isp_library.h Temporarily desupport simultaneous target and initiator mode. 2007-04-02 01:04:20 +00:00
isp_pci.c Pointy hat to me. Committed with building. 2007-06-26 23:08:57 +00:00
isp_sbus.c Add missing locking for SBus controllers. 2007-11-05 11:22:18 +00:00
isp_stds.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_target.c Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
isp_target.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_tpublic.h Make this an MP safe driver but also still be multi-release. 2007-05-05 20:17:23 +00:00
isp.c Don't try reading the SXP_PINS_DIFF on the 10160 and 12160 SCSI 2008-12-15 21:42:38 +00:00
ispmbox.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
ispreg.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
ispvar.h Recover from some major omissions/problems with the 24XX port. 2007-07-02 20:08:20 +00:00