summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-04-19 19:42:53 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-04-19 19:42:53 +0000
commita74488c04864b0863b3b81c62474e07eec8d3578 (patch)
tree6eaa43e8029927be41bbac76cde367aa165bcbb8
parentbd4671b0061f38557167f7974c2547aa0f5c1168 (diff)
typos, mostly unkown
Merged revisions 8539 via svnmerge from http://svn.digium.com/svn/dahdi/linux/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.3@8545 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/dahdi-base.c6
-rw-r--r--drivers/dahdi/xpp/card_bri.c2
-rw-r--r--drivers/dahdi/xpp/card_global.c4
-rw-r--r--drivers/dahdi/xpp/card_pri.c4
-rwxr-xr-xdrivers/dahdi/xpp/xpp_debug4
5 files changed, 10 insertions, 10 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index a484eeb..eba0bdc 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -4119,7 +4119,7 @@ static int dahdi_ctl_ioctl(struct file *file, unsigned int cmd, unsigned long da
* Set the rxhooksig back to
* DAHDI_RXSIG_INITIAL so that new events are
* queued on the channel with the actual
- * recieved hook state.
+ * received hook state.
*
*/
spans[j]->chans[x]->rxhooksig = DAHDI_RXSIG_INITIAL;
@@ -6944,7 +6944,7 @@ void dahdi_hooksig(struct dahdi_chan *chan, enum dahdi_rxsig rxsig)
* @chan: the DAHDI channel
* @cursig: the bits to set
*
- * Set the channel's rxsig (recieved: from device to userspace) and act
+ * Set the channel's rxsig (received: from device to userspace) and act
* accordingly.
*/
void dahdi_rbsbits(struct dahdi_chan *chan, int cursig)
@@ -7125,7 +7125,7 @@ static inline void __dahdi_ec_chunk(struct dahdi_chan *ss, unsigned char *rxchun
* @rxchunk: chunk of audio on which to cancel echo
* @txchunk: reference chunk from the other direction
*
- * The echo canceller function fixes recieved (from device to userspace)
+ * The echo canceller function fixes received (from device to userspace)
* audio. In order to fix it it uses the transmitted audio as a
* reference. This call updates the echo canceller for a single chunk (8
* bytes).
diff --git a/drivers/dahdi/xpp/card_bri.c b/drivers/dahdi/xpp/card_bri.c
index 4aff208..15a1553 100644
--- a/drivers/dahdi/xpp/card_bri.c
+++ b/drivers/dahdi/xpp/card_bri.c
@@ -1719,7 +1719,7 @@ static int proc_bri_info_read(char *page, char **start, off_t off, int count, in
priv->state_register.bits.v_su_info0,
priv->state_register.bits.v_g2_g3);
} else
- len += sprintf(page + len, "Unkown\n");
+ len += sprintf(page + len, "Unknown\n");
if(IS_NT(xpd)) {
len += sprintf(page + len, "T1 Timer: %d\n", priv->t1);
} else {
diff --git a/drivers/dahdi/xpp/card_global.c b/drivers/dahdi/xpp/card_global.c
index 7d60d58..f8f79b2 100644
--- a/drivers/dahdi/xpp/card_global.c
+++ b/drivers/dahdi/xpp/card_global.c
@@ -158,7 +158,7 @@ static int execute_chip_command(xpd_t *xpd, const int argc, char *argv[])
//XPD_DBG(REGS, xpd, "READING\n");
break;
default:
- XPD_ERR(xpd, "Unkown operation type '%c'\n", op);
+ XPD_ERR(xpd, "Unknown operation type '%c'\n", op);
goto out;
}
addr_mode = argv[argno][1];
@@ -187,7 +187,7 @@ static int execute_chip_command(xpd_t *xpd, const int argc, char *argv[])
//XPD_DBG(REGS, xpd, "Multibyte (%c)\n", addr_mode);
break;
default:
- XPD_ERR(xpd, "Unkown addressing type '%c'\n", addr_mode);
+ XPD_ERR(xpd, "Unknown addressing type '%c'\n", addr_mode);
goto out;
}
if(argv[argno][2] != '\0') {
diff --git a/drivers/dahdi/xpp/card_pri.c b/drivers/dahdi/xpp/card_pri.c
index 5ee9f22..b3c9f8a 100644
--- a/drivers/dahdi/xpp/card_pri.c
+++ b/drivers/dahdi/xpp/card_pri.c
@@ -101,7 +101,7 @@ enum pri_protocol {
static const char *pri_protocol_name(enum pri_protocol pri_protocol)
{
static const char *protocol_names[] = {
- [PRI_PROTO_0] = "??", /* unkown */
+ [PRI_PROTO_0] = "??", /* unknown */
[PRI_PROTO_E1] = "E1",
[PRI_PROTO_T1] = "T1",
[PRI_PROTO_J1] = "J1"
@@ -1766,7 +1766,7 @@ static void PRI_card_pcm_fromspan(xbus_t *xbus, xpd_t *xpd, xpacket_t *pack)
spin_unlock_irqrestore(&xpd->lock, flags);
}
-/*! Copy PCM chunks from the packet we recieved to the xpd struct.
+/*! Copy PCM chunks from the packet we received to the xpd struct.
* \param xbus xbus of target xpd.
* \param xpd target xpd.
* \param pack Source packet.
diff --git a/drivers/dahdi/xpp/xpp_debug b/drivers/dahdi/xpp/xpp_debug
index a3b7047..e7fc0da 100755
--- a/drivers/dahdi/xpp/xpp_debug
+++ b/drivers/dahdi/xpp/xpp_debug
@@ -82,7 +82,7 @@ calc_debug() {
let j++
done
if [ "$found" -eq 0 ]; then
- echo >&2 "$0: Unkown debug flag '$wanted'"
+ echo >&2 "$0: Unknown debug flag '$wanted'"
exit 1
fi
done
@@ -98,7 +98,7 @@ module="$1"
shift
if ! echo "$modules" | grep -w "$module" > /dev/null; then
- echo >&2 "$0: Unkown module $module"
+ echo >&2 "$0: Unknown module $module"
exit 1
fi