Fix some common typos in source code comments
- s/priviledged/privileged/ - s/funtion/function/ - s/doens't/doesn't/ - s/sychronization/synchronization/ MFC after: 3 days
This commit is contained in:
@@ -114,7 +114,7 @@ struct abort {
|
|||||||
* for cache operations working on virtual addresses. For now, we will
|
* for cache operations working on virtual addresses. For now, we will
|
||||||
* consider this abort as fatal. In fact, no cache maintenance on
|
* consider this abort as fatal. In fact, no cache maintenance on
|
||||||
* not mapped virtual addresses should be called. As cache maintenance
|
* not mapped virtual addresses should be called. As cache maintenance
|
||||||
* operation (except DMB, DSB, and Flush Prefetch Buffer) are priviledged,
|
* operation (except DMB, DSB, and Flush Prefetch Buffer) are privileged,
|
||||||
* the abort is fatal for user mode as well for now. (This is good place to
|
* the abort is fatal for user mode as well for now. (This is good place to
|
||||||
* note that cache maintenance on virtual address fill TLB.)
|
* note that cache maintenance on virtual address fill TLB.)
|
||||||
* Acces Bit (L1 & L2):
|
* Acces Bit (L1 & L2):
|
||||||
@@ -654,7 +654,7 @@ abort_align(struct trapframe *tf, u_int idx, u_int fsr, u_int far,
|
|||||||
* According to manual, FAULT_ICACHE is translation fault during cache
|
* According to manual, FAULT_ICACHE is translation fault during cache
|
||||||
* maintenance operation. In fact, no cache maintenance operation on
|
* maintenance operation. In fact, no cache maintenance operation on
|
||||||
* not mapped virtual addresses should be called. As cache maintenance
|
* not mapped virtual addresses should be called. As cache maintenance
|
||||||
* operation (except DMB, DSB, and Flush Prefetch Buffer) are priviledged,
|
* operation (except DMB, DSB, and Flush Prefetch Buffer) are privileged,
|
||||||
* the abort is concider as fatal for now. However, all the matter with
|
* the abort is concider as fatal for now. However, all the matter with
|
||||||
* cache maintenance operation on virtual addresses could be really complex
|
* cache maintenance operation on virtual addresses could be really complex
|
||||||
* and fuzzy in SMP case, so maybe in future standard fault mechanism
|
* and fuzzy in SMP case, so maybe in future standard fault mechanism
|
||||||
|
|||||||
@@ -442,7 +442,7 @@ int decompress_buffer(struct cudbg_buffer *pc_buff,
|
|||||||
remaining = chunk_size;
|
remaining = chunk_size;
|
||||||
checksum = 1L;
|
checksum = 1L;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
/* Write a funtion for this */
|
/* Write a function for this */
|
||||||
r = (CUDBG_BLOCK_SIZE < remaining) ?
|
r = (CUDBG_BLOCK_SIZE < remaining) ?
|
||||||
CUDBG_BLOCK_SIZE : remaining;
|
CUDBG_BLOCK_SIZE : remaining;
|
||||||
bytes_read =
|
bytes_read =
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ lxtphy_status(struct mii_softc *sc)
|
|||||||
/*
|
/*
|
||||||
* Get link status from the CSR; we need to read the CSR
|
* Get link status from the CSR; we need to read the CSR
|
||||||
* for media type anyhow, and the link status in the CSR
|
* for media type anyhow, and the link status in the CSR
|
||||||
* doens't latch, so fewer register reads are required.
|
* doesn't latch, so fewer register reads are required.
|
||||||
*/
|
*/
|
||||||
csr = PHY_READ(sc, MII_LXTPHY_CSR);
|
csr = PHY_READ(sc, MII_LXTPHY_CSR);
|
||||||
if (csr & CSR_LINK)
|
if (csr & CSR_LINK)
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ oce_reset_fun(POCE_SOFTC sc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This funtions tells firmware we are
|
* @brief This functions tells firmware we are
|
||||||
* done with commands.
|
* done with commands.
|
||||||
* @param sc software handle to the device
|
* @param sc software handle to the device
|
||||||
* @returns 0 on success, ETIMEDOUT on failure
|
* @returns 0 on success, ETIMEDOUT on failure
|
||||||
|
|||||||
@@ -702,7 +702,7 @@ struct ecore_hwfn {
|
|||||||
struct ecore_ptt *p_main_ptt;
|
struct ecore_ptt *p_main_ptt;
|
||||||
struct ecore_ptt *p_dpc_ptt;
|
struct ecore_ptt *p_dpc_ptt;
|
||||||
|
|
||||||
/* PTP will be used only by the leading funtion.
|
/* PTP will be used only by the leading function.
|
||||||
* Usage of all PTP-apis should be synchronized as result.
|
* Usage of all PTP-apis should be synchronized as result.
|
||||||
*/
|
*/
|
||||||
struct ecore_ptt *p_ptp_ptt;
|
struct ecore_ptt *p_ptp_ptt;
|
||||||
|
|||||||
+1
-1
@@ -624,7 +624,7 @@ rtsx_handle_card_present(struct rtsx_softc *sc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This funtion is called at startup.
|
* This function is called at startup.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
rtsx_card_task(void *arg, int pending __unused)
|
rtsx_card_task(void *arg, int pending __unused)
|
||||||
|
|||||||
@@ -984,7 +984,7 @@ sfxge_vpd_init(struct sfxge_softc *sc)
|
|||||||
|
|
||||||
if ((rc = efx_vpd_size(sc->enp, &sc->vpd_size)) != 0) {
|
if ((rc = efx_vpd_size(sc->enp, &sc->vpd_size)) != 0) {
|
||||||
/*
|
/*
|
||||||
* Unpriviledged functions deny VPD access.
|
* Unprivileged functions deny VPD access.
|
||||||
* Simply skip VPD in this case.
|
* Simply skip VPD in this case.
|
||||||
*/
|
*/
|
||||||
if (rc == EACCES)
|
if (rc == EACCES)
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ struct meminfo {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We use our own malloc/realloc/free funtions, so we can collect statistics
|
* We use our own malloc/realloc/free functions, so we can collect statistics
|
||||||
* and force journal switch when we're running out of cache.
|
* and force journal switch when we're running out of cache.
|
||||||
*/
|
*/
|
||||||
static void *
|
static void *
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ static d_open_t perfmon_open;
|
|||||||
static d_ioctl_t perfmon_ioctl;
|
static d_ioctl_t perfmon_ioctl;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX perfmon_init_dev(void *) is a split from the perfmon_init() funtion.
|
* XXX perfmon_init_dev(void *) is a split from the perfmon_init() function.
|
||||||
* This solves a problem for DEVFS users. It loads the "perfmon" driver after
|
* This solves a problem for DEVFS users. It loads the "perfmon" driver after
|
||||||
* the DEVFS subsystem has been kicked into action. The SI_ORDER_ANY is to
|
* the DEVFS subsystem has been kicked into action. The SI_ORDER_ANY is to
|
||||||
* assure that it is the most lowest priority task which, guarantees the
|
* assure that it is the most lowest priority task which, guarantees the
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ EXTERN int gotdefterm;
|
|||||||
EXTERN FILE *fscript; /* FILE for scripting */
|
EXTERN FILE *fscript; /* FILE for scripting */
|
||||||
|
|
||||||
EXTERN int fildes[2]; /* file transfer synchronization channel */
|
EXTERN int fildes[2]; /* file transfer synchronization channel */
|
||||||
EXTERN int repdes[2]; /* read process sychronization channel */
|
EXTERN int repdes[2]; /* read process synchronization channel */
|
||||||
EXTERN int FD; /* open file descriptor to remote host */
|
EXTERN int FD; /* open file descriptor to remote host */
|
||||||
EXTERN int AC; /* open file descriptor to dialer (v831 only) */
|
EXTERN int AC; /* open file descriptor to dialer (v831 only) */
|
||||||
EXTERN int vflag; /* print .tiprc initialization sequence */
|
EXTERN int vflag; /* print .tiprc initialization sequence */
|
||||||
|
|||||||
Reference in New Issue
Block a user