diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-05-03 03:41:25 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-05-03 03:41:25 +0000 |
commit | 453130d9bfc1c6d68b366dfcb041689d69f81295 (patch) | |
tree | fe36ef227324b313676d43aef9a4d97c9a09675a /sys/dev/ti | |
parent | 7860c0c3843dbb1cf8f4f2c20ee526e8dd2661da (diff) |
sys/dev: minor spelling fixes.
Most affect comments, very few have user-visible effects.
Notes
Notes:
svn path=/head/; revision=298955
Diffstat (limited to 'sys/dev/ti')
-rw-r--r-- | sys/dev/ti/if_ti.c | 8 | ||||
-rw-r--r-- | sys/dev/ti/if_tireg.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 538d65dbe986..d3f15feb837a 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -2513,7 +2513,7 @@ ti_attach(device_t dev) /* * Copper cards allow manual 10/100 mode selection, * but not manual 1000baseTX mode selection. Why? - * Becuase currently there's no way to specify the + * Because currently there's no way to specify the * master/slave setting through the firmware interface, * so Alteon decided to just bag it and handle it * via autonegotiation. @@ -2747,7 +2747,7 @@ ti_discard_jumbo(struct ti_softc *sc, int i) * Note: we have to be able to handle three possibilities here: * 1) the frame is from the mini receive ring (can only happen) * on Tigon 2 boards) - * 2) the frame is from the jumbo recieve ring + * 2) the frame is from the jumbo receive ring * 3) the frame is from the standard receive ring */ @@ -2987,7 +2987,7 @@ ti_intr(void *xsc) return; } - /* Ack interrupt and stop others from occuring. */ + /* Ack interrupt and stop others from occurring. */ CSR_WRITE_4(sc, TI_MB_HOSTINTR, 1); if (ifp->if_drv_flags & IFF_DRV_RUNNING) { @@ -3379,7 +3379,7 @@ ti_ifmedia_upd_locked(struct ti_softc *sc) /* * Transmit flow control can also cause problems on the - * Tigon 2, apparantly with both the copper and fiber + * Tigon 2, apparently with both the copper and fiber * boards. The symptom is that the interface will just * hang. This was reproduced with Alteon 180 switches. */ diff --git a/sys/dev/ti/if_tireg.h b/sys/dev/ti/if_tireg.h index 63b93f4fbb3c..d55e1507fff0 100644 --- a/sys/dev/ti/if_tireg.h +++ b/sys/dev/ti/if_tireg.h @@ -140,7 +140,7 @@ #define TI_FIRMWARE_FIX 0xb /* - * Miscelaneous Local Control register. + * Miscellaneous Local Control register. */ #define TI_MLC_EE_WRITE_ENB 0x00000010 #define TI_MLC_SRAM_BANK_SIZE 0x00000300 /* Tigon 2 only */ @@ -337,7 +337,7 @@ */ #define TI_OPMODE_BYTESWAP_BD 0x00000002 #define TI_OPMODE_WORDSWAP_BD 0x00000004 -#define TI_OPMODE_WARN_ENB 0x00000008 /* not yet implimented */ +#define TI_OPMODE_WARN_ENB 0x00000008 /* not yet implemented */ #define TI_OPMODE_BYTESWAP_DATA 0x00000010 #define TI_OPMODE_1_DMA_ACTIVE 0x00000040 #define TI_OPMODE_SBUS 0x00000100 @@ -347,7 +347,7 @@ #define TI_OPMODE_NO_EVENT_INTRS 0x00001000 #define TI_OPMODE_NO_TX_INTRS 0x00002000 #define TI_OPMODE_NO_RX_INTRS 0x00004000 -#define TI_OPMODE_FATAL_ENB 0x40000000 /* not yet implimented */ +#define TI_OPMODE_FATAL_ENB 0x40000000 /* not yet implemented */ #define TI_OPMODE_JUMBO_HDRSPLIT 0x00008000 /* |