git: c08230291947 - stable/13 - usb(4): Fix two typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Apr 2022 06:17:54 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=c08230291947958e91ff012fa3dc4f4d0abdddb7
commit c08230291947958e91ff012fa3dc4f4d0abdddb7
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-09 08:03:48 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-14 06:15:24 +0000
usb(4): Fix two typos in source code comments
- s/negotation/negotiation/
(cherry picked from commit c8c1c23a8c9d0c4e7816dbe7e6a82673e0abf3ef)
---
sys/dev/usb/net/if_muge.c | 2 +-
sys/dev/usb/net/if_smsc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/usb/net/if_muge.c b/sys/dev/usb/net/if_muge.c
index 3d008ea3c66a..f907ff5fc072 100644
--- a/sys/dev/usb/net/if_muge.c
+++ b/sys/dev/usb/net/if_muge.c
@@ -932,7 +932,7 @@ lan78xx_phy_init(struct muge_softc *sc)
ANAR_10 | ANAR_10_FD | ANAR_TX | ANAR_TX_FD |
ANAR_CSMA | ANAR_FC | ANAR_PAUSE_ASYM);
- /* Restart auto-negotation. */
+ /* Restart auto-negotiation. */
bmcr |= BMCR_STARTNEG;
bmcr |= BMCR_AUTOEN;
lan78xx_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, MII_BMCR, bmcr);
diff --git a/sys/dev/usb/net/if_smsc.c b/sys/dev/usb/net/if_smsc.c
index 33a90259b464..f1c7ce7082b2 100644
--- a/sys/dev/usb/net/if_smsc.c
+++ b/sys/dev/usb/net/if_smsc.c
@@ -1312,7 +1312,7 @@ smsc_phy_init(struct smsc_softc *sc)
smsc_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, SMSC_PHY_INTR_MASK,
(SMSC_PHY_INTR_ANEG_COMP | SMSC_PHY_INTR_LINK_DOWN));
- /* Restart auto-negotation */
+ /* Restart auto-negotiation */
bmcr = smsc_miibus_readreg(sc->sc_ue.ue_dev, sc->sc_phyno, MII_BMCR);
bmcr |= BMCR_STARTNEG;
smsc_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, MII_BMCR, bmcr);