diff options
author | Madalin Bucur <madalin.bucur@freescale.com> | 2013-04-19 22:35:15 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-24 15:39:27 (GMT) |
commit | ec6aa02560e69e08b4ef1be02fb066d9d70529ee (patch) | |
tree | fb129ee492b7d70257e1df3046401e10a48587a9 /drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c | |
parent | cb16a6587aee47027b7b4766db2d21c784b65114 (diff) | |
download | linux-fsl-qoriq-ec6aa02560e69e08b4ef1be02fb066d9d70529ee.tar.xz |
dpaa_eth: use FSL_DPAA_ETH prefix for all config options
Use consistent naming for Kconfig options in DPAA Ethernet driver.
Also updated default configs.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: I5603919a9d0649741a9494caed3826605b131903
Reviewed-on: http://git.am.freescale.net:8181/1720
Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c index 24d64db..0b6072b 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c @@ -37,7 +37,7 @@ #include <linux/io.h> #include <linux/of_net.h> #include "dpaa_eth.h" -#ifdef CONFIG_FSL_DPA_1588 +#ifdef CONFIG_FSL_DPAA_1588 #include "dpaa_1588.h" #endif @@ -88,7 +88,7 @@ static ssize_t dpaa_eth_show_fqids(struct device *dev, case FQ_TYPE_TX: str = "Tx"; break; -#ifdef CONFIG_DPA_TX_RECYCLE +#ifdef CONFIG_FSL_DPAA_TX_RECYCLE case FQ_TYPE_TX_RECYCLE: str = "Tx(recycling)"; break; @@ -160,7 +160,7 @@ static ssize_t dpaa_eth_show_mac_regs(struct device *dev, } -#ifdef CONFIG_FSL_DPA_1588 +#ifdef CONFIG_FSL_DPAA_1588 static ssize_t dpaa_eth_show_ptp_1588(struct device *dev, struct device_attribute *attr, char *buf) { @@ -204,7 +204,7 @@ static struct device_attribute dpaa_eth_attrs[] = { __ATTR(fqids, S_IRUGO, dpaa_eth_show_fqids, NULL), __ATTR(dflt_bpid, S_IRUGO, dpaa_eth_show_dflt_bpid, NULL), __ATTR(mac_regs, S_IRUGO, dpaa_eth_show_mac_regs, NULL), -#ifdef CONFIG_FSL_DPA_1588 +#ifdef CONFIG_FSL_DPAA_1588 __ATTR(ptp_1588, S_IRUGO | S_IWUSR, dpaa_eth_show_ptp_1588, dpaa_eth_set_ptp_1588), #endif |