소스 검색

net: Improve comments in include/linux/phy.h

Correct state range of PHY bus addresses (i.e. 0-31) in comment,
make spelling of PHY consistent in comments.

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Peter Meerwald 15 년 전
부모
커밋
c688399634
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      include/linux/phy.h

+ 2 - 2
include/linux/phy.h

@@ -116,7 +116,7 @@ struct mii_bus {
 	/* list of all PHYs on bus */
 	/* list of all PHYs on bus */
 	struct phy_device *phy_map[PHY_MAX_ADDR];
 	struct phy_device *phy_map[PHY_MAX_ADDR];
 
 
-	/* Phy addresses to be ignored when probing */
+	/* PHY addresses to be ignored when probing */
 	u32 phy_mask;
 	u32 phy_mask;
 
 
 	/*
 	/*
@@ -283,7 +283,7 @@ struct phy_device {
 
 
 	phy_interface_t interface;
 	phy_interface_t interface;
 
 
-	/* Bus address of the PHY (0-32) */
+	/* Bus address of the PHY (0-31) */
 	int addr;
 	int addr;
 
 
 	/*
 	/*