mediatek: mt7622: rtl8367c: source comment fixes
authorPaul Donald <newtwen+github@gmail.com>
Wed, 3 Apr 2024 15:23:16 +0000 (17:23 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 Apr 2024 12:46:32 +0000 (14:46 +0200)
Fix also some Chinese -> UTF8 encoding problems

Improves indexing and searches

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
target/linux/mediatek/files/drivers/net/phy/rtk/rtl8367c/rtl8367c_asicdrv_port.c

index 78e80a0b20f6444795bce8f6daa59ebabc81ce7a..fae046639d78dabd7898b37c79cd77410c164b8c 100644 (file)
@@ -951,7 +951,7 @@ rtk_uint8 Sgmii_Init[SGMII_INIT_SIZE] = {
  *      Set UNDA behavior
  * Input:
  *      port        - port ID
- *      behavior    - 0: flooding to unknwon DA portmask; 1: drop; 2:trap; 3: flooding
+ *      behavior    - 0: flooding to unknown DA portmask; 1: drop; 2:trap; 3: flooding
  * Output:
  *      None
  * Return:
@@ -981,7 +981,7 @@ ret_t rtl8367c_setAsicPortUnknownDaBehavior(rtk_uint32 port, rtk_uint32 behavior
  * Input:
  *      port        - port ID
  * Output:
- *      pBehavior   - 0: flooding to unknwon DA portmask; 1: drop; 2:trap; 3: flooding
+ *      pBehavior   - 0: flooding to unknown DA portmask; 1: drop; 2:trap; 3: flooding
  * Return:
  *      RT_ERR_OK   - Success
  *      RT_ERR_SMI  - SMI access error
@@ -3724,7 +3724,7 @@ ret_t rtl8367c_setAsicPortExtMode(rtk_uint32 id, rtk_uint32 mode)
                     return retVal;
                 /*
                 1: MAC link = SGMII SerDes link
-                0: MAC link = SGMII config link £¨cfg_sgmii_link£©
+                0: MAC link = SGMII config link (cfg_sgmii_link)
                 */
                 if ((retVal = rtl8367c_setAsicRegBit(0x1d95, 2, 0)) != RT_ERR_OK)
                     return retVal;
@@ -4032,7 +4032,7 @@ ret_t rtl8367c_setAsicPortExtMode(rtk_uint32 id, rtk_uint32 mode)
                 if ((retVal = rtl8367c_setAsicRegBits(0x1d95, 0x1f00, 0x2)) != RT_ERR_OK)
                     return retVal;
 
-                /*select MAC link source when port6/7 be set sgmii mode £¨cfg_sgmii_link£©*/
+                /*select MAC link source when port6/7 be set sgmii mode (cfg_sgmii_link)*/
                 if ((retVal = rtl8367c_setAsicRegBit(0x1d95, 2, 0)) != RT_ERR_OK)
                     return retVal;
             }