linux/drivers/net/ethernet/broadcom/bgmac-bcma.c

/*
 * Driver for (BCM4706)? GBit MAC core on BCMA bus.
 *
 * Copyright (C) 2012 Rafał Miłecki <[email protected]>
 *
 * Licensed under the GNU/GPL. See COPYING for details.
 */

#define pr_fmt(fmt)

#include <linux/bcma/bcma.h>
#include <linux/brcmphy.h>
#include <linux/etherdevice.h>
#include <linux/of_mdio.h>
#include <linux/of_net.h>
#include "bgmac.h"

static inline bool bgmac_is_bcm4707_family(struct bcma_device *core)
{}

/**************************************************
 * BCMA bus ops
 **************************************************/

static u32 bcma_bgmac_read(struct bgmac *bgmac, u16 offset)
{}

static void bcma_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value)
{}

static u32 bcma_bgmac_idm_read(struct bgmac *bgmac, u16 offset)
{}

static void bcma_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value)
{}

static bool bcma_bgmac_clk_enabled(struct bgmac *bgmac)
{}

static void bcma_bgmac_clk_enable(struct bgmac *bgmac, u32 flags)
{}

static void bcma_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset,
				       u32 mask, u32 set)
{}

static u32 bcma_bgmac_get_bus_clock(struct bgmac *bgmac)
{}

static void bcma_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask,
				     u32 set)
{}

static int bcma_phy_connect(struct bgmac *bgmac)
{}

static const struct bcma_device_id bgmac_bcma_tbl[] =;
MODULE_DEVICE_TABLE(bcma, bgmac_bcma_tbl);

/* http://bcm-v4.sipsolutions.net/mac-gbit/gmac/chipattach */
static int bgmac_probe(struct bcma_device *core)
{}

static void bgmac_remove(struct bcma_device *core)
{}

static struct bcma_driver bgmac_bcma_driver =;

static int __init bgmac_init(void)
{}

static void __exit bgmac_exit(void)
{}

module_init()
module_exit()

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();