Advertise to CAM the ability of 790X controllers to negotiate information
authorPeter Avalos <pavalos@dragonflybsd.org>
Thu, 6 Mar 2008 20:07:51 +0000 (20:07 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Thu, 6 Mar 2008 20:07:51 +0000 (20:07 +0000)
unit transfers (packetized/U320 protocol) and QAS.

Obtained-from: FreeBSD

sys/dev/disk/aic7xxx/aic79xx_osm.c

index 68fe68c..f561bc3 100644 (file)
@@ -32,7 +32,7 @@
  * $Id: //depot/aic7xxx/freebsd/dev/aic7xxx/aic79xx_osm.c#35 $
  *
  * $FreeBSD: src/sys/dev/aic7xxx/aic79xx_osm.c,v 1.23 2005/12/04 02:12:40 ru Exp $
- * $DragonFly: src/sys/dev/disk/aic7xxx/aic79xx_osm.c,v 1.25 2008/03/06 20:04:46 pavalos Exp $
+ * $DragonFly: src/sys/dev/disk/aic7xxx/aic79xx_osm.c,v 1.26 2008/03/06 20:07:51 pavalos Exp $
  */
 
 #include "aic79xx_osm.h"
@@ -590,9 +590,10 @@ ahd_action(struct cam_sim *sim, union ccb *ccb)
                cpi->protocol = PROTO_SCSI;
                cpi->protocol_version = SCSI_REV_2;
                cpi->transport = XPORT_SPI;
-               cpi->xport_specific.spi.ppr_options = SID_SPI_CLOCK_ST;
                cpi->transport_version = 4;
-               cpi->xport_specific.spi.ppr_options = SID_SPI_CLOCK_DT_ST;
+               cpi->xport_specific.spi.ppr_options = SID_SPI_CLOCK_DT_ST
+                                                   | SID_SPI_IUS
+                                                   | SID_SPI_QAS;
                cpi->ccb_h.status = CAM_REQ_CMP;
                xpt_done(ccb);
                break;