int et131x_init_eeprom(struct et131x_adapter *etdev);
/* et131x_initpci.c */
-void ConfigGlobalRegs(struct et131x_adapter *pAdapter);
-void ConfigMMCRegs(struct et131x_adapter *pAdapter);
+void et131x_config_global_regs(struct et131x_adapter *pAdapter);
void et131x_enable_interrupts(struct et131x_adapter *adapter);
void et131x_disable_interrupts(struct et131x_adapter *adapter);
void et131x_align_allocated_memory(struct et131x_adapter *adapter,
*
* Used to configure the global registers on the JAGCore
*/
-void ConfigGlobalRegs(struct et131x_adapter *etdev)
+void et131x_configure_global_regs(struct et131x_adapter *etdev)
{
struct global_regs __iomem *regs = &etdev->regs->global;
writel(0, ®s->watchdog_timer);
}
-
/**
* et131x_adapter_setup - Set the adapter up as per cassini+ documentation
* @etdev: pointer to our private adapter structure
int status = 0;
/* Configure the JAGCore */
- ConfigGlobalRegs(etdev);
+ et131x_configure_global_regs(etdev);
et1310_config_mac_regs1(etdev);
et131x_rx_dma_memory_free(adapter);
}
-
-
/**
* et131x_adapter_init
* @etdev: pointer to the private adapter struct
* Initialize the data structures for the et131x_adapter object and link
* them together with the platform provided device structures.
*/
-
-
static struct et131x_adapter *et131x_adapter_init(struct net_device *netdev,
struct pci_dev *pdev)
{
* contained in the pci_device_id table. This routine is the equivalent to
* a device insertion routine.
*/
-
static int __devinit et131x_pci_setup(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
* PCI subsystem detects that a PCI device which matches the information
* contained in the pci_device_id table has been removed.
*/
-
static void __devexit et131x_pci_remove(struct pci_dev *pdev)
{
struct net_device *netdev;
.resume = NULL, /* et131x_pci_resume */
};
-
/**
* et131x_init_module - The "main" entry point called on driver initialization
*