aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2021-08-28 16:57:23 +0000
committerGordon Bergling <gbe@FreeBSD.org>2021-08-28 16:57:23 +0000
commit5bdf58e196096993758b3e50291db17104025b65 (patch)
treef760da83c1e8a9b098363c96da03517a4578c4ae /sys/dev
parent10e0082fff4ec9392db2763ce3b095bc010526df (diff)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cxgbe/cudbg/fastlz_api.c2
-rw-r--r--sys/dev/mii/lxtphy.c2
-rw-r--r--sys/dev/oce/oce_mbox.c2
-rw-r--r--sys/dev/qlnx/qlnxe/ecore.h2
-rw-r--r--sys/dev/rtsx/rtsx.c2
-rw-r--r--sys/dev/sfxge/sfxge.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/cxgbe/cudbg/fastlz_api.c b/sys/dev/cxgbe/cudbg/fastlz_api.c
index a513557ad352..7a8131f6da3e 100644
--- a/sys/dev/cxgbe/cudbg/fastlz_api.c
+++ b/sys/dev/cxgbe/cudbg/fastlz_api.c
@@ -442,7 +442,7 @@ int decompress_buffer(struct cudbg_buffer *pc_buff,
remaining = chunk_size;
checksum = 1L;
for (;;) {
- /* Write a funtion for this */
+ /* Write a function for this */
r = (CUDBG_BLOCK_SIZE < remaining) ?
CUDBG_BLOCK_SIZE : remaining;
bytes_read =
diff --git a/sys/dev/mii/lxtphy.c b/sys/dev/mii/lxtphy.c
index 699c1d6f83b6..31900cc5a34b 100644
--- a/sys/dev/mii/lxtphy.c
+++ b/sys/dev/mii/lxtphy.c
@@ -203,7 +203,7 @@ lxtphy_status(struct mii_softc *sc)
/*
* Get link status from the CSR; we need to read 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);
if (csr & CSR_LINK)
diff --git a/sys/dev/oce/oce_mbox.c b/sys/dev/oce/oce_mbox.c
index 7470d7a13b07..321775c13d1e 100644
--- a/sys/dev/oce/oce_mbox.c
+++ b/sys/dev/oce/oce_mbox.c
@@ -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.
* @param sc software handle to the device
* @returns 0 on success, ETIMEDOUT on failure
diff --git a/sys/dev/qlnx/qlnxe/ecore.h b/sys/dev/qlnx/qlnxe/ecore.h
index 33af8f124658..32a6b98156c5 100644
--- a/sys/dev/qlnx/qlnxe/ecore.h
+++ b/sys/dev/qlnx/qlnxe/ecore.h
@@ -702,7 +702,7 @@ struct ecore_hwfn {
struct ecore_ptt *p_main_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.
*/
struct ecore_ptt *p_ptp_ptt;
diff --git a/sys/dev/rtsx/rtsx.c b/sys/dev/rtsx/rtsx.c
index cb85685c875c..cae35243d137 100644
--- a/sys/dev/rtsx/rtsx.c
+++ b/sys/dev/rtsx/rtsx.c
@@ -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
rtsx_card_task(void *arg, int pending __unused)
diff --git a/sys/dev/sfxge/sfxge.c b/sys/dev/sfxge/sfxge.c
index 866f940a7b29..62daadf35ae5 100644
--- a/sys/dev/sfxge/sfxge.c
+++ b/sys/dev/sfxge/sfxge.c
@@ -984,7 +984,7 @@ sfxge_vpd_init(struct sfxge_softc *sc)
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.
*/
if (rc == EACCES)