Changeset 35554


Ignore:
Timestamp:
2013-02-11T14:14:00+01:00 (5 years ago)
Author:
juhosg
Message:

generic: ar8216: use pr_* macros for kernel messages

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

File:
1 edited

Legend:

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

    r35549 r35554  
    795795                        /* value taken from Ubiquiti RouterStation Pro */ 
    796796                        newval = 0x81461bea; 
    797                         printk(KERN_INFO "ar8316: Using port 4 as PHY\n"); 
     797                        pr_info("ar8316: Using port 4 as PHY\n"); 
    798798                } else { 
    799799                        newval = 0x01261be2; 
    800                         printk(KERN_INFO "ar8316: Using port 4 as switch port\n"); 
     800                        pr_info("ar8316: Using port 4 as switch port\n"); 
    801801                } 
    802802        } else if (priv->phy->interface == PHY_INTERFACE_MODE_GMII) { 
     
    805805        } else { 
    806806                /* no known value for phy interface */ 
    807                 printk(KERN_ERR "ar8316: unsupported mii mode: %d.\n", 
    808                         priv->phy->interface); 
     807                pr_err("ar8316: unsupported mii mode: %d.\n", 
     808                       priv->phy->interface); 
    809809                return -EINVAL; 
    810810        } 
     
    16901690                break; 
    16911691        default: 
    1692                 printk(KERN_DEBUG 
    1693                         "ar8216: Unknown Atheros device [ver=%d, rev=%d]\n", 
    1694                         priv->chip_ver, priv->chip_rev); 
     1692                pr_err("ar8216: Unknown Atheros device [ver=%d, rev=%d]\n", 
     1693                       priv->chip_ver, priv->chip_rev); 
    16951694 
    16961695                return -ENODEV; 
     
    19011900                goto err_free_priv; 
    19021901 
    1903         printk(KERN_INFO "%s: %s switch driver attached.\n", 
     1902        pr_info("%s: %s switch driver attached.\n", 
    19041903                pdev->attached_dev->name, swdev->name); 
    19051904 
Note: See TracChangeset for help on using the changeset viewer.