mediatek: mt7622: rtl8367c: source comment fixes
[openwrt/staging/stintel.git] / target / linux / mediatek / files / drivers / net / phy / rtk / rtl8367c / include / rtk_switch.h
index b0ca13682c80fcb08a46c9744840d046e0bad635..0a43c0dbd3bf76fdcbf238c254639b478f267658 100644 (file)
@@ -185,10 +185,10 @@ typedef enum rtk_switch_maxPktLen_linkSpeed_e {
 #define RTK_SCAN_ALL_LOG_PORT(__port__)                     for(__port__ = 0; __port__ < RTK_SWITCH_PORT_NUM; __port__++)  if( rtk_switch_logicalPortCheck(__port__) == RT_ERR_OK)
 #define RTK_SCAN_ALL_LOG_PORTMASK(__portmask__)             for((__portmask__).bits[0] = 0; (__portmask__).bits[0] < 0x7FFFF; (__portmask__).bits[0]++)  if( rtk_switch_isPortMaskValid(&__portmask__) == RT_ERR_OK)
 
-/* Port mask defination */
+/* Port mask definition */
 #define RTK_PHY_PORTMASK_ALL                                (rtk_switch_phyPortMask_get())
 
-/* Port defination*/
+/* Port definition*/
 #define RTK_MAX_LOGICAL_PORT_ID                             (rtk_switch_maxLogicalPort_get())
 
 /* Function Name:
@@ -477,7 +477,7 @@ extern rtk_api_ret_t rtk_switch_isPortMaskExt(rtk_portmask_t *pPmask);
 /* Function Name:
  *      rtk_switch_portmask_L2P_get
  * Description:
- *      Get physicl portmask from logical portmask
+ *      Get physical portmask from logical portmask
  * Input:
  *      pLogicalPmask       - logical port mask
  * Output:
@@ -546,7 +546,7 @@ rtk_api_ret_t rtk_switch_logPortMask_get(rtk_portmask_t *pPortmask);
 /* Function Name:
  *      rtk_switch_init
  * Description:
- *      Set chip to default configuration enviroment
+ *      Set chip to default configuration environment
  * Input:
  *      None
  * Output: