freebsd-dev/sys/dev/aic7xxx
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
..
aicasm Re-enable WARNS=6 after my universe test. 2009-06-02 17:27:54 +00:00
ahc_eisa.c
ahc_isa.c
ahc_pci.c remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
ahd_pci.c remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
aic7xxx_93cx6.c
aic7xxx_93cx6.h
aic7xxx_inline.h Up until now, the free SCB pool received only a small initial allocation, 2007-04-19 18:53:52 +00:00
aic7xxx_osm.c Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
aic7xxx_osm.h Separate the parallel scsi knowledge out of the core of the XPT, and 2009-07-10 08:18:08 +00:00
aic7xxx_pci.c Basic MPSAFE locking for the AHC and AHD drivers. 2007-04-17 06:26:25 +00:00
aic7xxx.c Fix locking mistakes in the error recovery paths of the AHC and AHD drivers. 2007-07-31 20:11:03 +00:00
aic7xxx.h Up until now, the free SCB pool received only a small initial allocation, 2007-04-19 18:53:52 +00:00
aic7xxx.reg
aic7xxx.seq
aic79xx_inline.h
aic79xx_osm.c Make ddb command registration dynamic so modules can extend 2008-09-15 22:45:14 +00:00
aic79xx_osm.h Separate the parallel scsi knowledge out of the core of the XPT, and 2009-07-10 08:18:08 +00:00
aic79xx_pci.c Basic MPSAFE locking for the AHC and AHD drivers. 2007-04-17 06:26:25 +00:00
aic79xx.c Up until now, the free SCB pool received only a small initial allocation, 2007-04-19 18:53:52 +00:00
aic79xx.h Up until now, the free SCB pool received only a small initial allocation, 2007-04-19 18:53:52 +00:00
aic79xx.reg
aic79xx.seq Correct typos containing my login name (plus one more in expr.y). 2007-02-18 19:48:59 +00:00
aic7770.c Basic MPSAFE locking for the AHC and AHD drivers. 2007-04-17 06:26:25 +00:00
aic_osm_lib.c Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
aic_osm_lib.h fix up some code for older systems changed by accident in the last commit 2007-10-21 04:11:13 +00:00