SILI - Work around hardware LRAM bugs part 2/2.
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 17 Jun 2009 19:33:56 +0000 (12:33 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 17 Jun 2009 19:33:56 +0000 (12:33 -0700)
commit4383d4400dfcd345a115d7994ec66540112d60b1
treeb615aa8f0e6fe352b37e5b076ba1ace128dce14a
parentc8b45fda95882919a1f6571458b1b1d68f16a82b
SILI - Work around hardware LRAM bugs part 2/2.

* Add ATA_F_AUTOSENSE and ATA_F_EXCLUSIVE to deal with accessing the
  D2H RFIS.

  ATA_F_AUTOSENSE tells sili.c that the caller wants to access the rfis.
  The sili core is then responsible for copying the rfis out of the LRAM
  and into host-memory.

  ATA_F_EXCLUSIVE tells sili.c that the caller wants to be the only
  command queued to the chip for that particular command.

* Currently ATA_F_AUTOSENSE implies ATA_F_EXCLUSIVE, but ultimately we will
  want to do the auto-sense as a separate step so things like ATAPI farms
  can run commands in parallel.
sys/dev/disk/sili/atascsi.h
sys/dev/disk/sili/sili.c
sys/dev/disk/sili/sili.h
sys/dev/disk/sili/sili_cam.c
sys/dev/disk/sili/sili_pm.c