Date: Thu, 6 May 1999 22:41:03 -0700 (PDT) From: cpiazza@home.net To: FreeBSD-gnats-submit@freebsd.org Subject: kern/11555: Spelling mistakes in ata-dma.c Message-ID: <19990507054103.49C0F140B@norn.ca.eu.org>
next in thread | raw e-mail | index | archive | help
>Number: 11555 >Category: kern >Synopsis: Spelling mistakes in ata-dma.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 6 22:50:00 PDT 1999 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990507054103.49C0F140B>