mediatek: mt7622: rtl8367c: source comment fixes

Fix also some Chinese -> UTF8 encoding problems

Improves indexing and searches

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald 2024-04-03 17:23:16 +02:00 committed by Christian Marangi
parent a2b94afc0d
commit afad4e8ab6
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
1 changed files with 4 additions and 4 deletions

View File

@ -951,7 +951,7 @@ rtk_uint8 Sgmii_Init[SGMII_INIT_SIZE] = {
* Set UNDA behavior * Set UNDA behavior
* Input: * Input:
* port - port ID * 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: * Output:
* None * None
* Return: * Return:
@ -981,7 +981,7 @@ ret_t rtl8367c_setAsicPortUnknownDaBehavior(rtk_uint32 port, rtk_uint32 behavior
* Input: * Input:
* port - port ID * port - port ID
* Output: * 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: * Return:
* RT_ERR_OK - Success * RT_ERR_OK - Success
* RT_ERR_SMI - SMI access error * RT_ERR_SMI - SMI access error
@ -3724,7 +3724,7 @@ ret_t rtl8367c_setAsicPortExtMode(rtk_uint32 id, rtk_uint32 mode)
return retVal; return retVal;
/* /*
1: MAC link = SGMII SerDes link 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) if ((retVal = rtl8367c_setAsicRegBit(0x1d95, 2, 0)) != RT_ERR_OK)
return retVal; 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) if ((retVal = rtl8367c_setAsicRegBits(0x1d95, 0x1f00, 0x2)) != RT_ERR_OK)
return retVal; 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) if ((retVal = rtl8367c_setAsicRegBit(0x1d95, 2, 0)) != RT_ERR_OK)
return retVal; return retVal;
} }