summaryrefslogtreecommitdiff
path: root/drivers/staging/et131x/et131x_initpci.c
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2011-07-10 16:35:26 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-23 11:44:08 -0700
commit1de137839bea5b185730b03d5a94da95d9054ce6 (patch)
treec119fae03f58b14ae0e7b7f9807bb3923c331c7d /drivers/staging/et131x/et131x_initpci.c
parentfcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c (diff)
staging: et131x: Converting et1310_mac.c function and local names from CamelCase
Tested on an ET-131x device. Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et131x_initpci.c')
-rw-r--r--drivers/staging/et131x/et131x_initpci.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/et131x/et131x_initpci.c b/drivers/staging/et131x/et131x_initpci.c
index 8c8d6b87a252..d98db859f7c2 100644
--- a/drivers/staging/et131x/et131x_initpci.c
+++ b/drivers/staging/et131x/et131x_initpci.c
@@ -269,7 +269,7 @@ void et131x_error_timer_handler(unsigned long data)
pm_csr = readl(&etdev->regs->global.pm_csr);
if ((pm_csr & ET_PM_PHY_SW_COMA) == 0)
- UpdateMacStatHostCounters(etdev);
+ update_macstat_host_counters(etdev);
else
dev_err(&etdev->pdev->dev,
"No interrupts, in PHY coma, pm_csr = 0x%x\n", pm_csr);
@@ -369,7 +369,7 @@ void ConfigGlobalRegs(struct et131x_adapter *etdev)
/**
* et131x_adapter_setup - Set the adapter up as per cassini+ documentation
- * @adapter: pointer to our private adapter structure
+ * @etdev: pointer to our private adapter structure
*
* Returns 0 on success, errno on failure (as defined in errno.h)
*/
@@ -380,19 +380,19 @@ int et131x_adapter_setup(struct et131x_adapter *etdev)
/* Configure the JAGCore */
ConfigGlobalRegs(etdev);
- ConfigMACRegs1(etdev);
+ config_mac_regs1(etdev);
/* Configure the MMC registers */
/* All we need to do is initialize the Memory Control Register */
writel(ET_MMC_ENABLE, &etdev->regs->mmc.mmc_ctrl);
- ConfigRxMacRegs(etdev);
- ConfigTxMacRegs(etdev);
+ config_rxmac_regs(etdev);
+ config_txmac_regs(etdev);
ConfigRxDmaRegs(etdev);
ConfigTxDmaRegs(etdev);
- ConfigMacStatRegs(etdev);
+ config_macstat_regs(etdev);
/* Move the following code to Timer function?? */
status = et131x_xcvr_find(etdev);