From owner-svn-src-all@FreeBSD.ORG Mon Jul 25 15:10:53 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B081065673; Mon, 25 Jul 2011 15:10:53 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B7B168FC1C; Mon, 25 Jul 2011 15:10:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p6PFArc2062294; Mon, 25 Jul 2011 15:10:53 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p6PFArgw062289; Mon, 25 Jul 2011 15:10:53 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201107251510.p6PFArgw062289@svn.freebsd.org> From: Marius Strobl Date: Mon, 25 Jul 2011 15:10:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r224325 - stable/7/sys/dev/sym X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2011 15:10:53 -0000 Author: marius Date: Mon Jul 25 15:10:53 2011 New Revision: 224325 URL: http://svn.freebsd.org/changeset/base/224325 Log: MFC: r220944, r220950 - Correct spelling. [1] - Remove variables which are unused besides initialization. [2] Submitted by: brucec, N.J. Mann [1], Christoph Mallon [2] Modified: stable/7/sys/dev/sym/README.sym stable/7/sys/dev/sym/sym_fw1.h stable/7/sys/dev/sym/sym_fw2.h stable/7/sys/dev/sym/sym_hipd.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/sym/README.sym ============================================================================== --- stable/7/sys/dev/sym/README.sym Mon Jul 25 15:10:52 2011 (r224324) +++ stable/7/sys/dev/sym/README.sym Mon Jul 25 15:10:53 2011 (r224325) @@ -70,7 +70,7 @@ using `man sym' for driver usage and fea I haven't removed this README file from the repository since I may have to provide additional documentation to people interested in understanding the driver sources and/or in helping -driver development and maintainance. +driver development and maintenance. As a result, this file is now under reconstruction. :-) Modified: stable/7/sys/dev/sym/sym_fw1.h ============================================================================== --- stable/7/sys/dev/sym/sym_fw1.h Mon Jul 25 15:10:52 2011 (r224324) +++ stable/7/sys/dev/sym/sym_fw1.h Mon Jul 25 15:10:53 2011 (r224325) @@ -1027,7 +1027,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ * It shall be a tagged command. * Read SIMPLE+TAG. * The C code will deal with errors. - * Agressive optimization, is'nt it? :) + * Aggressive optimization, isn't it? :) */ SCR_MOVE_ABS (2) ^ SCR_MSG_IN, HADDR_1 (msgin), @@ -1051,7 +1051,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ RADDR_1 (dsa), /* * The SIDL still contains the TAG value. - * Agressive optimization, isn't it? :):) + * Aggressive optimization, isn't it? :):) */ SCR_REG_SFBR (sidl, SCR_SHL, 0), 0, @@ -1352,7 +1352,7 @@ static const struct SYM_FWB_SCR SYM_FWB_ * some target to reset or some disconnected * job to abort. Since error recovery is a serious * busyness, we will really reset the SCSI BUS, if - * case of a SCSI interrupt occuring in this path. + * case of a SCSI interrupt occurring in this path. */ /* @@ -1461,7 +1461,7 @@ static const struct SYM_FWB_SCR SYM_FWB_ PADDR_B (msg_weird_seen), /* * We donnot handle extended messages from SCRIPTS. - * Read the amount of data correponding to the + * Read the amount of data corresponding to the * message length and call the C code. */ SCR_COPY (1), Modified: stable/7/sys/dev/sym/sym_fw2.h ============================================================================== --- stable/7/sys/dev/sym/sym_fw2.h Mon Jul 25 15:10:52 2011 (r224324) +++ stable/7/sys/dev/sym/sym_fw2.h Mon Jul 25 15:10:53 2011 (r224325) @@ -945,7 +945,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ * It shall be a tagged command. * Read SIMPLE+TAG. * The C code will deal with errors. - * Agressive optimization, is'nt it? :) + * Aggressive optimization, isn't it? :) */ SCR_MOVE_ABS (2) ^ SCR_MSG_IN, HADDR_1 (msgin), @@ -957,7 +957,7 @@ static const struct SYM_FWA_SCR SYM_FWA_ offsetof(struct sym_lcb, head.itlq_tbl_sa), /* * The SIDL still contains the TAG value. - * Agressive optimization, isn't it? :):) + * Aggressive optimization, isn't it? :):) */ SCR_REG_SFBR (sidl, SCR_SHL, 0), 0, @@ -1213,7 +1213,7 @@ static const struct SYM_FWB_SCR SYM_FWB_ * some target to reset or some disconnected * job to abort. Since error recovery is a serious * busyness, we will really reset the SCSI BUS, if - * case of a SCSI interrupt occuring in this path. + * case of a SCSI interrupt occurring in this path. */ /* @@ -1320,7 +1320,7 @@ static const struct SYM_FWB_SCR SYM_FWB_ PADDR_B (msg_weird_seen), /* * We donnot handle extended messages from SCRIPTS. - * Read the amount of data correponding to the + * Read the amount of data corresponding to the * message length and call the C code. */ SCR_STORE_REL (scratcha, 1), Modified: stable/7/sys/dev/sym/sym_hipd.c ============================================================================== --- stable/7/sys/dev/sym/sym_hipd.c Mon Jul 25 15:10:52 2011 (r224324) +++ stable/7/sys/dev/sym/sym_hipd.c Mon Jul 25 15:10:53 2011 (r224325) @@ -366,7 +366,7 @@ static void MDELAY(int ms) { while (ms-- * from the SCRIPTS code. In addition, cache line alignment * is guaranteed for power of 2 cache line size. * - * This allocator has been developped for the Linux sym53c8xx + * This allocator has been developed for the Linux sym53c8xx * driver, since this O/S does not provide naturally aligned * allocations. * It has the advantage of allowing the driver to use private @@ -1959,10 +1959,8 @@ static void sym_fw1_setup(hcb_p np, const struct sym_fw *fw) { struct sym_fw1a_scr *scripta0; - struct sym_fw1b_scr *scriptb0; scripta0 = (struct sym_fw1a_scr *) np->scripta0; - scriptb0 = (struct sym_fw1b_scr *) np->scriptb0; /* * Fill variable parts in scripts. @@ -1983,10 +1981,8 @@ static void sym_fw2_setup(hcb_p np, const struct sym_fw *fw) { struct sym_fw2a_scr *scripta0; - struct sym_fw2b_scr *scriptb0; scripta0 = (struct sym_fw2a_scr *) np->scripta0; - scriptb0 = (struct sym_fw2b_scr *) np->scriptb0; /* * Fill variable parts in scripts. @@ -2294,7 +2290,7 @@ static void sym_nvram_setup_target (hcb_ static int sym_read_nvram (hcb_p np, struct sym_nvram *nvp); /* - * Print something which allows to retrieve the controler type, + * Print something which allows to retrieve the controller type, * unit, target, lun concerned by a kernel message. */ static void PRINT_TARGET (hcb_p np, int target) @@ -4300,7 +4296,7 @@ static void sym_int_ma (hcb_p np) } /* - * The data in the dma fifo has not been transfered to + * The data in the dma fifo has not been transferred to * the target -> add the amount to the rest * and clear the data. * Check the sstat2 register in case of wide transfer. @@ -7520,7 +7516,7 @@ static void sym_action(struct cam_sim *s } /* - * Retreive the target and lun descriptors. + * Retrieve the target and lun descriptors. */ tp = &np->target[ccb_h->target_id]; lp = sym_lp(np, tp, ccb_h->target_lun);