summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata
diff options
context:
space:
mode:
authorbrucec <brucec@FreeBSD.org>2010-11-09 10:59:09 +0000
committerbrucec <brucec@FreeBSD.org>2010-11-09 10:59:09 +0000
commit696c4e1f9bb4cd204d25faf22eb312c82fe3ad48 (patch)
treede27851d14573db38e387b4520440178ecc95fa9 /sys/dev/ata
parent95d0fe5a467ecc88abd03b0dc9f03c79ac39bc2a (diff)
downloadFreeBSD-src-696c4e1f9bb4cd204d25faf22eb312c82fe3ad48.zip
FreeBSD-src-696c4e1f9bb4cd204d25faf22eb312c82fe3ad48.tar.gz
Fix typos.
PR: bin/148894 Submitted by: olgeni
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/ata-disk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c
index 67e092e..85b6a54 100644
--- a/sys/dev/ata/ata-disk.c
+++ b/sys/dev/ata/ata-disk.c
@@ -188,13 +188,13 @@ ad_detach(device_t dev)
free(children, M_TEMP);
}
- /* detroy disk from the system so we dont get any further requests */
+ /* destroy disk from the system so we don't get any further requests */
disk_destroy(adp->disk);
- /* fail requests on the queue and any thats "in flight" for this device */
+ /* fail requests on the queue and any that's "in flight" for this device */
ata_fail_requests(dev);
- /* dont leave anything behind */
+ /* don't leave anything behind */
device_set_ivars(dev, NULL);
free(adp, M_AD);
return 0;
@@ -536,7 +536,7 @@ ad_describe(device_t dev)
struct ad_softc *adp = device_get_ivars(dev);
u_int8_t *marker, vendor[64], product[64];
- /* try to seperate the ATA model string into vendor and model parts */
+ /* try to separate the ATA model string into vendor and model parts */
if ((marker = index(atadev->param.model, ' ')) ||
(marker = index(atadev->param.model, '-'))) {
int len = (marker - atadev->param.model);
OpenPOWER on IntegriCloud