From owner-svn-src-head@freebsd.org Fri Feb 23 20:01:42 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3396F17E81; Fri, 23 Feb 2018 20:01:42 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B3AA7575B; Fri, 23 Feb 2018 20:01:42 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 764271B1AD; Fri, 23 Feb 2018 20:01:42 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1NK1ggB037795; Fri, 23 Feb 2018 20:01:42 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1NK1g0G037793; Fri, 23 Feb 2018 20:01:42 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201802232001.w1NK1g0G037793@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Fri, 23 Feb 2018 20:01:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329877 - head/sys/dev/isci/scil X-SVN-Group: head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: head/sys/dev/isci/scil X-SVN-Commit-Revision: 329877 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 20:01:43 -0000 Author: emaste Date: Fri Feb 23 20:01:42 2018 New Revision: 329877 URL: https://svnweb.freebsd.org/changeset/base/329877 Log: Correct typo in ATA_WRITE_UNCORRECTABLE_PSEUDO Also correct a typo in the comment for these values, noted by jimharris. Reviewed by: jimharris Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3715 Modified: head/sys/dev/isci/scil/intel_ata.h head/sys/dev/isci/scil/sati_write_long.c Modified: head/sys/dev/isci/scil/intel_ata.h ============================================================================== --- head/sys/dev/isci/scil/intel_ata.h Fri Feb 23 19:09:27 2018 (r329876) +++ head/sys/dev/isci/scil/intel_ata.h Fri Feb 23 20:01:42 2018 (r329877) @@ -301,13 +301,13 @@ /*@}*/ /** - * @name ATA_WRITE_UNCORRECTIABLE feature field values + * @name ATA_WRITE_UNCORRECTABLE feature field values * * These constants define the Write Uncorrectable feature values * used with the SATI translation. */ /*@{*/ -#define ATA_WRITE_UNCORRECTABLE_PSUEDO 0x55 +#define ATA_WRITE_UNCORRECTABLE_PSEUDO 0x55 #define ATA_WRITE_UNCORRECTABLE_FLAGGED 0xAA /*@}*/ Modified: head/sys/dev/isci/scil/sati_write_long.c ============================================================================== --- head/sys/dev/isci/scil/sati_write_long.c Fri Feb 23 19:09:27 2018 (r329876) +++ head/sys/dev/isci/scil/sati_write_long.c Fri Feb 23 20:01:42 2018 (r329877) @@ -176,7 +176,7 @@ SATI_STATUS sati_write_long_translate_command( sati_ata_write_uncorrectable_construct( ata_io, sequence, - ATA_WRITE_UNCORRECTABLE_PSUEDO + ATA_WRITE_UNCORRECTABLE_PSEUDO ); sequence->type = SATI_SEQUENCE_WRITE_LONG; status = SATI_SUCCESS; @@ -188,7 +188,7 @@ SATI_STATUS sati_write_long_translate_command( sati_ata_write_uncorrectable_construct( ata_io, sequence, - ATA_WRITE_UNCORRECTABLE_PSUEDO + ATA_WRITE_UNCORRECTABLE_PSEUDO ); sequence->type = SATI_SEQUENCE_WRITE_LONG; status = SATI_SUCCESS;