git: c8c1c23a8c9d - main - usb(4): Fix two typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 08:14:17 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=c8c1c23a8c9d0c4e7816dbe7e6a82673e0abf3ef
commit c8c1c23a8c9d0c4e7816dbe7e6a82673e0abf3ef
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-09 08:03:48 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 08:13:52 +0000
usb(4): Fix two typos in source code comments
- s/negotation/negotiation/
MFC after: 3 days
---
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 e7e21112ece6..a5878f7c0a4c 100644
--- a/sys/dev/usb/net/if_muge.c
+++ b/sys/dev/usb/net/if_muge.c
@@ -931,7 +931,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 b28f24eec4c7..00c127937412 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);