#ifndef ATLX_C
#define ATLX_C
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/etherdevice.h>
#include <linux/if.h>
#include <linux/netdevice.h>
#include <linux/socket.h>
#include <linux/sockios.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/workqueue.h>
#include "atlx.h"
static s32 atlx_read_phy_reg(struct atl1_hw *hw, u16 reg_addr, u16 *phy_data);
static u32 atlx_hash_mc_addr(struct atl1_hw *hw, u8 *mc_addr);
static void atlx_set_mac_addr(struct atl1_hw *hw);
static struct atlx_spi_flash_dev flash_table[] = …;
static int atlx_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
{ … }
static int atlx_set_mac(struct net_device *netdev, void *p)
{ … }
static void atlx_check_for_link(struct atlx_adapter *adapter)
{ … }
static void atlx_set_multi(struct net_device *netdev)
{ … }
static inline void atlx_imr_set(struct atlx_adapter *adapter,
unsigned int imr)
{ … }
static void atlx_irq_enable(struct atlx_adapter *adapter)
{ … }
static void atlx_irq_disable(struct atlx_adapter *adapter)
{ … }
static void atlx_clear_phy_int(struct atlx_adapter *adapter)
{ … }
static void atlx_tx_timeout(struct net_device *netdev, unsigned int txqueue)
{ … }
static void atlx_link_chg_task(struct work_struct *work)
{ … }
static void __atlx_vlan_mode(netdev_features_t features, u32 *ctrl)
{ … }
static void atlx_vlan_mode(struct net_device *netdev,
netdev_features_t features)
{ … }
static void atlx_restore_vlan(struct atlx_adapter *adapter)
{ … }
static netdev_features_t atlx_fix_features(struct net_device *netdev,
netdev_features_t features)
{ … }
static int atlx_set_features(struct net_device *netdev,
netdev_features_t features)
{ … }
#endif