Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2011 15:10:53 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r224324 - stable/8/sys/dev/sym
Message-ID:  <201107251510.p6PFArYG062271@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Mon Jul 25 15:10:52 2011
New Revision: 224324
URL: http://svn.freebsd.org/changeset/base/224324

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/8/sys/dev/sym/README.sym
  stable/8/sys/dev/sym/sym_fw1.h
  stable/8/sys/dev/sym/sym_fw2.h
  stable/8/sys/dev/sym/sym_hipd.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/geom/label/   (props changed)

Modified: stable/8/sys/dev/sym/README.sym
==============================================================================
--- stable/8/sys/dev/sym/README.sym	Mon Jul 25 15:05:37 2011	(r224323)
+++ stable/8/sys/dev/sym/README.sym	Mon Jul 25 15:10:52 2011	(r224324)
@@ -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/8/sys/dev/sym/sym_fw1.h
==============================================================================
--- stable/8/sys/dev/sym/sym_fw1.h	Mon Jul 25 15:05:37 2011	(r224323)
+++ stable/8/sys/dev/sym/sym_fw1.h	Mon Jul 25 15:10:52 2011	(r224324)
@@ -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/8/sys/dev/sym/sym_fw2.h
==============================================================================
--- stable/8/sys/dev/sym/sym_fw2.h	Mon Jul 25 15:05:37 2011	(r224323)
+++ stable/8/sys/dev/sym/sym_fw2.h	Mon Jul 25 15:10:52 2011	(r224324)
@@ -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/8/sys/dev/sym/sym_hipd.c
==============================================================================
--- stable/8/sys/dev/sym/sym_hipd.c	Mon Jul 25 15:05:37 2011	(r224323)
+++ stable/8/sys/dev/sym/sym_hipd.c	Mon Jul 25 15:10:52 2011	(r224324)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107251510.p6PFArYG062271>