Changeset 35536


Ignore:
Timestamp:
2013-02-10T14:05:12+01:00 (5 years ago)
Author:
juhosg
Message:

generic: ar8216: skip probe on unused PHY addresses

Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/files/drivers/net/phy/ar8216.c

    r35532 r35536  
    19631963        int ret; 
    19641964 
     1965        /* skip PHYs at unused adresses */ 
     1966        if (pdev->addr != 0 && pdev->addr != 4) 
     1967                return -ENODEV; 
     1968 
    19651969        priv = kzalloc(sizeof(struct ar8216_priv), GFP_KERNEL); 
    19661970        if (priv == NULL) 
Note: See TracChangeset for help on using the changeset viewer.