]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
phylib: fix phy name example in documentation
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
Wed, 19 Nov 2008 23:38:24 +0000 (15:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Nov 2008 23:38:24 +0000 (15:38 -0800)
All MDIO bus drivers currently name bus with "%x" format.
There is one exception where mv643xx_eth driver is using "%d".
Phy address on the bus uses format "%02x".

Fixing phy name example to match all real life MDIO drivers.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/phy.txt

index 8df6a7b0e66cdfd3b1de96ed038a062b71be8008..88bb71b46da4217b8704bf10b8ccae68d1ad832d 100644 (file)
@@ -96,7 +96,7 @@ Letting the PHY Abstraction Layer do Everything
    static void adjust_link(struct net_device *dev);
  
  Next, you need to know the device name of the PHY connected to this device. 
    static void adjust_link(struct net_device *dev);
  
  Next, you need to know the device name of the PHY connected to this device. 
- The name will look something like, "phy0:0", where the first number is the
+ The name will look something like, "0:00", where the first number is the
  bus id, and the second is the PHY's address on that bus.  Typically,
  the bus is responsible for making its ID unique.
  
  bus id, and the second is the PHY's address on that bus.  Typically,
  the bus is responsible for making its ID unique.