Fix typo (s/harware/hardware/)

This commit is contained in:
Kevin Lo 2015-12-25 14:51:36 +00:00
parent 970ceb2fd5
commit ddb1359877
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292730
5 changed files with 8 additions and 8 deletions

View File

@ -3194,7 +3194,7 @@ pmap_promote_pte1(pmap_t pmap, pt1_entry_t *pte1p, vm_offset_t va)
* When page is not modified, PTE2_RO can be set without
* a TLB invalidation.
*
* Note: When modified bit is being set, then in harware case,
* Note: When modified bit is being set, then in hardware case,
* the TLB entry is re-read (updated) from PT2, and in
* software case (abort), the PTE2 is read from PT2 and
* TLB flushed if changed. The following cmpset() solves
@ -6170,7 +6170,7 @@ pmap_fault(pmap_t pmap, vm_offset_t far, uint32_t fsr, int idx, bool usermode)
/*
* Handle modify bits for page and section. Note that the modify
* bit is emulated by software. So PTEx_RO is software read only
* bit and PTEx_NM flag is real harware read only bit.
* bit and PTEx_NM flag is real hardware read only bit.
*
* QQQ: This is hardware emulation, we do not call userret()
* for aborts from user mode.

View File

@ -201,7 +201,7 @@ enum SCIC_SDS_PHY_PROTOCOL
* @struct SCIC_SDS_PHY
*
* @brief This structure contains or references all of the data necessary to
* represent the core phy object and SCU harware protocol engine.
* represent the core phy object and SCU hardware protocol engine.
*/
typedef struct SCIC_SDS_PHY
{

View File

@ -589,7 +589,7 @@ netmap_set_all_rings(struct netmap_adapter *na, int stopped)
/*
* Convenience function used in drivers. Waits for current txsync()s/rxsync()s
* to finish and prevents any new one from starting. Call this before turning
* netmap mode off, or before removing the harware rings (e.g., on module
* netmap mode off, or before removing the hardware rings (e.g., on module
* onload). As a rule of thumb for linux drivers, this should be placed near
* each napi_disable().
*/

View File

@ -63,7 +63,7 @@
#define CVMX_ENABLE_PKO_FUNCTIONS
/* Define to enable the use of simple executive helper functions. These
** include many harware setup functions. See cvmx-helper.[ch] for
** include many hardware setup functions. See cvmx-helper.[ch] for
** details.
*/
#define CVMX_ENABLE_HELPER_FUNCTIONS

View File

@ -599,7 +599,7 @@ arpintr(struct mbuf *m)
layer = "firewire";
/*
* Restrict too long harware addresses.
* Restrict too long hardware addresses.
* Currently we are capable of handling 20-byte
* addresses ( sizeof(lle->ll_addr) )
*/
@ -608,8 +608,8 @@ arpintr(struct mbuf *m)
break;
default:
ARP_LOG(LOG_NOTICE,
"packet with unknown harware format 0x%02d received on %s\n",
ntohs(ar->ar_hrd), if_name(ifp));
"packet with unknown hardware format 0x%02d received on "
"%s\n", ntohs(ar->ar_hrd), if_name(ifp));
m_freem(m);
return;
}