summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2013-04-17 11:45:15 +0000
committergabor <gabor@FreeBSD.org>2013-04-17 11:45:15 +0000
commit188c638b60fe60e70310769b4c68de8ab101ae45 (patch)
tree0bc40bcd45f885e71a3eb81f70ca7998866dbf64 /sys
parent3d6a89082dd54cd36101ae25fb261f0129a5770d (diff)
downloadFreeBSD-src-188c638b60fe60e70310769b4c68de8ab101ae45.zip
FreeBSD-src-188c638b60fe60e70310769b4c68de8ab101ae45.tar.gz
- Corrrect mispellings of word useful
Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
Diffstat (limited to 'sys')
-rw-r--r--sys/cam/cam_periph.h2
-rw-r--r--sys/dev/bktr/CHANGELOG.TXT2
-rw-r--r--sys/dev/bktr/bktr_os.c2
-rw-r--r--sys/dev/ppbus/ppbconf.c2
-rw-r--r--sys/dev/sound/pcm/dsp.c2
-rw-r--r--sys/netinet/tcp_subr.c2
-rw-r--r--sys/pci/ncr.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/sys/cam/cam_periph.h b/sys/cam/cam_periph.h
index 48aea0c..274537e 100644
--- a/sys/cam/cam_periph.h
+++ b/sys/cam/cam_periph.h
@@ -90,7 +90,7 @@ typedef enum {
CAM_PERIPH_BIO
} cam_periph_type;
-/* Generically usefull offsets into the peripheral private area */
+/* Generically useful offsets into the peripheral private area */
#define ppriv_ptr0 periph_priv.entries[0].ptr
#define ppriv_ptr1 periph_priv.entries[1].ptr
#define ppriv_field0 periph_priv.entries[0].field
diff --git a/sys/dev/bktr/CHANGELOG.TXT b/sys/dev/bktr/CHANGELOG.TXT
index b885e15..f6c918e 100644
--- a/sys/dev/bktr/CHANGELOG.TXT
+++ b/sys/dev/bktr/CHANGELOG.TXT
@@ -285,7 +285,7 @@
Fix row=0/columns=0 bug. From Randal Hopper<aa8vb@ipass.net>
Add option to block the reset of the MSP34xx audio chip by
adding options BKTR_NO_MSP_RESET to the kernel config file.
- This is usefull if you run another operating system
+ This is useful if you run another operating system
first to initialise the audio chip, then do a soft reboot.
Added for Yuri Gindin <yuri@xpert.com>
diff --git a/sys/dev/bktr/bktr_os.c b/sys/dev/bktr/bktr_os.c
index 4eb39ae..773ffb0 100644
--- a/sys/dev/bktr/bktr_os.c
+++ b/sys/dev/bktr/bktr_os.c
@@ -404,7 +404,7 @@ bktr_attach( device_t dev )
#if defined( BKTR_SIS_VIA_MODE )
if (bootverbose) printf("Using SiS/VIA chipset compatibilty mode\n");
- fun = fun | 4; /* Enable SiS/VIA compatibility mode (usefull for
+ fun = fun | 4; /* Enable SiS/VIA compatibility mode (useful for
OPTi chipset motherboards too */
#endif
pci_write_config(dev, 0x40, fun, 2);
diff --git a/sys/dev/ppbus/ppbconf.c b/sys/dev/ppbus/ppbconf.c
index ef513c1..a2370dd 100644
--- a/sys/dev/ppbus/ppbconf.c
+++ b/sys/dev/ppbus/ppbconf.c
@@ -531,7 +531,7 @@ ppb_request_bus(device_t bus, device_t dev, int how)
/* restore the context of the device
* The first time, ctx.valid is certainly false
- * then do not change anything. This is usefull for
+ * then do not change anything. This is useful for
* drivers that do not set there operating mode
* during attachement
*/
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c
index e52e46e..5195da2 100644
--- a/sys/dev/sound/pcm/dsp.c
+++ b/sys/dev/sound/pcm/dsp.c
@@ -2011,7 +2011,7 @@ dsp_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode,
* OSSv4 docs: "All errors and counters will automatically be
* cleared to zeroes after the call so each call will return only
* the errors that occurred after the previous invocation. ... The
- * play_underruns and rec_overrun fields are the only usefull fields
+ * play_underruns and rec_overrun fields are the only useful fields
* returned by OSS 4.0."
*/
{
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index ed00af3..1236d7d 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1060,7 +1060,7 @@ tcp_drain(void)
* XXX: The "Net/3" implementation doesn't imply that the TCP
* reassembly queue should be flushed, but in a situation
* where we're really low on mbufs, this is potentially
- * usefull.
+ * useful.
*/
INP_INFO_RLOCK(&V_tcbinfo);
LIST_FOREACH(inpb, V_tcbinfo.ipi_listhead, inp_list) {
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 70b08c7..2dfba61 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -4857,7 +4857,7 @@ static void ncr_getsync(ncb_p np, u_char sfac, u_char *fakp, u_char *scntl3p)
*/
fak = (kpc - 1) / div_10M[div] + 1;
-#if 0 /* You can #if 1 if you think this optimization is usefull */
+#if 0 /* You can #if 1 if you think this optimization is useful */
per = (fak * div_10M[div]) / clk;
OpenPOWER on IntegriCloud