From owner-p4-projects@FreeBSD.ORG Sat Jun 27 17:24:34 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3565F106567A; Sat, 27 Jun 2009 17:24:34 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E49331065676 for ; Sat, 27 Jun 2009 17:24:33 +0000 (UTC) (envelope-from mav@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D29EE8FC15 for ; Sat, 27 Jun 2009 17:24:33 +0000 (UTC) (envelope-from mav@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5RHOXnw064694 for ; Sat, 27 Jun 2009 17:24:33 GMT (envelope-from mav@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5RHOXWB064692 for perforce@freebsd.org; Sat, 27 Jun 2009 17:24:33 GMT (envelope-from mav@freebsd.org) Date: Sat, 27 Jun 2009 17:24:33 GMT Message-Id: <200906271724.n5RHOXWB064692@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to mav@freebsd.org using -f From: Alexander Motin To: Perforce Change Reviews Cc: Subject: PERFORCE change 165324 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2009 17:24:35 -0000 http://perforce.freebsd.org/chv.cgi?CH=165324 Change 165324 by mav@mav_mavbook on 2009/06/27 17:23:50 atapicam provides fake emulated SPI transport, but not a native ATA in terms of updated CAM. Affected files ... .. //depot/projects/scottl-camlock/src/sys/dev/ata/atapi-cam.c#15 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/dev/ata/atapi-cam.c#15 (text+ko) ==== @@ -376,7 +376,7 @@ cpi->unit_number = cam_sim_unit(sim); cpi->bus_id = cam_sim_bus(sim); cpi->base_transfer_speed = 3300; - cpi->transport = XPORT_ATA; + cpi->transport = XPORT_SPI; cpi->transport_version = 2; cpi->protocol = PROTO_SCSI; cpi->protocol_version = SCSI_REV_2; @@ -456,7 +456,7 @@ struct ccb_trans_settings *cts = &ccb->cts; cts->protocol = PROTO_SCSI; cts->protocol_version = SCSI_REV_2; - cts->transport = XPORT_ATA; + cts->transport = XPORT_SPI; cts->transport_version = XPORT_VERSION_UNSPECIFIED; cts->proto_specific.valid = 0; cts->xport_specific.valid = 0;