patch-1.3.87 linux/drivers/net/pt.c
Next file: linux/drivers/net/sdla.c
Previous file: linux/drivers/net/ppp.c
Back to the patch index
Back to the overall index
- Lines: 117
- Date:
Fri Apr 12 09:49:38 1996
- Orig file:
v1.3.86/linux/drivers/net/pt.c
- Orig date:
Fri Mar 1 07:50:45 1996
diff -u --recursive --new-file v1.3.86/linux/drivers/net/pt.c linux/drivers/net/pt.c
@@ -42,7 +42,7 @@
#define DEF_A_SPEED 4800 /* 4800 baud */
#define DEF_A_TXDELAY 350 /* 350 mS */
-#define DEF_A_PERSIST 64 /* 25% persistance */
+#define DEF_A_PERSIST 64 /* 25% persistence */
#define DEF_A_SLOTIME 10 /* 10 mS */
#define DEF_A_SQUELDELAY 30 /* 30 mS */
#define DEF_A_CLOCKMODE 0 /* Normal clock mode */
@@ -540,7 +540,7 @@
}
/*
- * Link a couple of device structres into the chain
+ * Link a couple of device structures into the chain
*
* For the A port
* Allocate space for 4 buffers even though we only need 3,
@@ -680,7 +680,7 @@
{
if (lp->speed) /* internally clocked */
{
- /* Repogram BRG from 32x clock for Rx DPLL */
+ /* Reprogram BRG from 32x clock for Rx DPLL */
/* BRG off, keep PClk source */
wrtscc(lp->cardbase, cmd, R14, BRSRC);
br = lp->speed;
@@ -690,7 +690,7 @@
/* SEARCH mode, BRG source */
wrtscc(lp->cardbase, cmd, R14, BRSRC | SEARCH);
- /* Enalbe the BRG */
+ /* Enable the BRG */
wrtscc(lp->cardbase, cmd, R14, BRSRC | BRENABL);
}
}
@@ -801,7 +801,7 @@
lp->base = dev->base_addr;
lp->cardbase = dev->base_addr & 0x3f0;
- /* These need to be initialsed before scc_init() is called.
+ /* These need to be initialised before scc_init() is called.
*/
lp->xtal = XTAL;
@@ -916,7 +916,7 @@
* sometime after booting when the 'ifconfig' program is run.
*
* This routine should set everything up anew at each open, even
- * registers that 'should' only be set once at bott, so that there is
+ * registers that 'should' only be set once at boot, so that there is
* a non-reboot way to recover if something goes wrong.
* derived from last half of tsync_attach()
*/
@@ -1193,7 +1193,7 @@
{
lp->tstate = DEFER;
tdelay(lp, 100);
- /* DEFER until DCD transistion or timeout */
+ /* DEFER until DCD transition or timeout */
wrtscc(lp->cardbase, cmd, R15, DCDIE);
restore_flags(flags);
return;
@@ -1230,7 +1230,7 @@
lp->sndbuf = NULL;
if ((rdscc(lp->cardbase, cmd, R0) & TxEOM))
{
- /* Did we underrum */
+ /* Did we underrun */
lp->stats.tx_errors++;
lp->stats.tx_fifo_errors++;
wrtscc(lp->cardbase, cmd, R0, SEND_ABORT);
@@ -1253,7 +1253,7 @@
restore_flags(flags);
return;
default:
- printk("PT: pt_txisr(): Invlaid tstate (%d) for chan %s.\n", lp->tstate, (cmd & CHANA? "A": "B") );
+ printk("PT: pt_txisr(): Invalid tstate (%d) for chan %s.\n", lp->tstate, (cmd & CHANA? "A": "B") );
pt_rts(lp, OFF);
lp->tstate = IDLE;
break;
@@ -1392,7 +1392,7 @@
skb = dev_alloc_skb(sksize);
if (skb == NULL)
{
- printk("PT: %s: Memory squeze, dropping packet.\n", dev->name);
+ printk("PT: %s: Memory squeeze, dropping packet.\n", dev->name);
lp->stats.rx_dropped++;
restore_flags(flags);
return;
@@ -1701,7 +1701,7 @@
/* slotime has timed out */
case DEFER:
/* Check DCD - debounce it
- * see Intel Micrommunications Handbook, p2-308
+ * see Intel Microcommunications Handbook, p2-308
*/
wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
wrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
@@ -1709,7 +1709,7 @@
{
lp->tstate = DEFER;
tdelay(lp, 100);
- /* DEFER until DCD transistion or timeout */
+ /* DEFER until DCD transition or timeout */
wrtscc(lp->cardbase, cmd, R15, DCDIE);
restore_flags(flags);
return;
@@ -1761,7 +1761,7 @@
}
- /* Check for DCD transistions */
+ /* Check for DCD transitions */
if ( (st & DCD) != (lp->saved_RR0 & DCD))
{
#ifdef PT_DEBUG
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this