From norn@norn.ca.eu.org Thu May  6 22:41:06 1999
Return-Path: <norn@norn.ca.eu.org>
Received: from norn.ca.eu.org (cr965240-b.abtsfd1.bc.wave.home.com [24.113.19.137])
	by hub.freebsd.org (Postfix) with ESMTP id 2FCD215182
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 May 1999 22:41:05 -0700 (PDT)
	(envelope-from norn@norn.ca.eu.org)
Received: by norn.ca.eu.org (Postfix, from userid 1000)
	id 49C0F140B; Thu,  6 May 1999 22:41:03 -0700 (PDT)
Message-Id: <19990507054103.49C0F140B@norn.ca.eu.org>
Date: Thu,  6 May 1999 22:41:03 -0700 (PDT)
From: cpiazza@home.net
Sender: norn@norn.ca.eu.org
Reply-To: cpiazza@home.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: Spelling mistakes in ata-dma.c
X-Send-Pr-Version: 3.2

>Number:         11555
>Category:       kern
>Synopsis:       Spelling mistakes in ata-dma.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  6 22:50:00 PDT 1999
>Closed-Date:    Fri Jun 18 22:41:18 PDT 1999
>Last-Modified:  Fri Jun 18 22:42:25 PDT 1999
>Originator:     Chris Piazza
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
n/a
>Environment:

FreeBSD norn.ca.eu.org 4.0-CURRENT FreeBSD 4.0-CURRENT #194: Thu May  6 22:29:10 PDT 1999     norn@norn.ca.eu.org:/usr/src/sys/compile/NORN  i386

>Description:

"setting" was being spelled as "settting" in ata-dma.c.
(Found by actually looking at my dmesg output!)
ata0: master: settting up UDMA2 mode on Aladdin chip OK

>How-To-Repeat:

>Fix:
	

Index: sys/dev/ata/ata-dma.c
===================================================================
RCS file: /cvs/FreeBSD/src/sys/dev/ata/ata-dma.c,v
retrieving revision 1.6
diff -u -r1.6 ata-dma.c
--- ata-dma.c	1999/04/18 20:48:15	1.6
+++ ata-dma.c	1999/05/07 05:32:30
@@ -86,7 +86,7 @@
 	if (udmamode >= 2) {
     	    int32_t mask48, new48;
 
-	    printf("ata%d: %s: settting up UDMA2 mode on PIIX4 chip ",
+	    printf("ata%d: %s: setting up UDMA2 mode on PIIX4 chip ",
 		   scp->lun, (device) ? "slave" : "master");
 	    error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
 				ATA_UDMA2, ATA_C_FEA_SETXFER, ATA_WAIT_INTR);
@@ -125,7 +125,7 @@
                 pci_write_config(scp->dev, 0x40, new40, 4);
                 pci_write_config(scp->dev, 0x44, new44, 4);
 	    }
-	    printf("ata%d: %s: settting up WDMA2 mode on PIIX3/4 chip ",
+	    printf("ata%d: %s: setting up WDMA2 mode on PIIX3/4 chip ",
 		   scp->lun, (device) ? "slave" : "master");
 	    error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
 				ATA_WDMA2, ATA_C_FEA_SETXFER, ATA_WAIT_INTR);
@@ -168,7 +168,7 @@
     case 0x4d33105a:	/* Promise Ultra/33 / FastTrack controllers */
 	devno = (scp->unit << 1) + (device ? 1 : 0);
 	if (udmamode >=2) {
-	    printf("ata%d: %s: settting up UDMA2 mode on Promise chip ",
+	    printf("ata%d: %s: setting up UDMA2 mode on Promise chip ",
 		   scp->lun, (device) ? "slave" : "master");
 	    error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
 				ATA_UDMA2, ATA_C_FEA_SETXFER, ATA_WAIT_INTR);
@@ -181,7 +181,7 @@
 	    return 0;
 	}
 	else if (wdmamode >= 2 && apiomode >= 4) {
-	    printf("ata%d: %s: settting up WDMA2 mode on Promise chip ",
+	    printf("ata%d: %s: setting up WDMA2 mode on Promise chip ",
 		   scp->lun, (device) ? "slave" : "master");
 	    error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
 				ATA_WDMA2, ATA_C_FEA_SETXFER, ATA_WAIT_INTR);
@@ -194,7 +194,7 @@
 	    return 0;
         }
 	else {
-	    printf("ata%d: %s: settting up PIO mode on Promise chip OK\n",
+	    printf("ata%d: %s: setting up PIO mode on Promise chip OK\n",
 		   scp->lun, (device) ? "slave" : "master");
 	    pci_write_config(scp->dev, 0x60 + (devno << 2), 0x004fe924, 4);
 	}
@@ -204,7 +204,7 @@
 	if (udmamode >=2) {
 	    int32_t word54 = pci_read_config(scp->dev, 0x54, 4);
 	
-	    printf("ata%d: %s: settting up UDMA2 mode on Aladdin chip ",
+	    printf("ata%d: %s: setting up UDMA2 mode on Aladdin chip ",
 		   scp->lun, (device) ? "slave" : "master");
 	    error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
 				ATA_UDMA2, ATA_C_FEA_SETXFER, ATA_WAIT_INTR);
@@ -220,7 +220,7 @@
 		
 	}
 	else if (wdmamode >= 2 && apiomode >= 4) {
-	    printf("ata%d: %s: settting up WDMA2 mode on Aladdin chip ",
+	    printf("ata%d: %s: setting up WDMA2 mode on Aladdin chip ",
 		   scp->lun, (device) ? "slave" : "master");
 	    error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
 				ATA_WDMA2, ATA_C_FEA_SETXFER, ATA_WAIT_INTR);
@@ -235,7 +235,7 @@
 
     default:		/* well, we have no support for this, but try anyways */
 	if ((wdmamode >= 2 && apiomode >= 4) || udmamode >= 2) {
-	    printf("ata%d: %s: settting up generic WDMA2 mode ",
+	    printf("ata%d: %s: setting up generic WDMA2 mode ",
 		   scp->lun, (device) ? "slave" : "master");
 	    error = ata_command(scp, device, ATA_C_SETFEATURES, 0, 0, 0,
 				ATA_WDMA2, ATA_C_FEA_SETXFER, ATA_WAIT_INTR);

-Chris

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed  
State-Changed-By: cpiazza 
State-Changed-When: Fri Jun 18 22:41:18 PDT 1999 
State-Changed-Why:  
Spelling mistake was fixed already. 
>Unformatted:
