AHCI - Chip reset, Inquiry alignment, ATAPI adjustments, Intel attach
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 17 Aug 2009 06:36:28 +0000 (23:36 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 17 Aug 2009 06:36:28 +0000 (23:36 -0700)
commitb012a2caf4b41ad62d691eb78745845a4a12382b
tree99cc51f3b6a22f6241fad234fc27803c98d67306
parent555da58457db4436864b28defeafd6e8d2eb64d6
AHCI - Chip reset, Inquiry alignment, ATAPI adjustments, Intel attach

* When resetting the chip set AE before issuing HR and leave AE set
  when issuing HR.  After reset is complete, set AE again.

* Do Intel hocus pocus at config register 0x92 for Intel chipsets.

* The only PIO request is basically the initial INQUIRY during probe.
  Make sure the structure does not cross a page boundary so only one
  DRQ buffer is needed.  Very old AHCI chipsets may need this.

* Make minor flags adjustments for PIO setup commands during the
  initial probe.

* Reduce verbosity slightly.
sys/dev/disk/ahci/ahci.c
sys/dev/disk/ahci/ahci.h
sys/dev/disk/ahci/ahci_attach.c
sys/dev/disk/ahci/ahci_cam.c
sys/dev/disk/ahci/ahci_pm.c