linux/drivers/net/arcnet/com20020-pci.c

/*
 * Linux ARCnet driver - COM20020 PCI support
 * Contemporary Controls PCI20 and SOHARD SH-ARC PCI
 *
 * Written 1994-1999 by Avery Pennarun,
 *    based on an ISA version by David Woodhouse.
 * Written 1999-2000 by Martin Mares <[email protected]>.
 * Derived from skeleton.c by Donald Becker.
 *
 * Special thanks to Contemporary Controls, Inc. (www.ccontrols.com)
 *  for sponsoring the further development of this driver.
 *
 * **********************
 *
 * The original copyright of skeleton.c was as follows:
 *
 * skeleton.c Written 1993 by Donald Becker.
 * Copyright 1993 United States Government as represented by the
 * Director, National Security Agency.  This software may only be used
 * and distributed according to the terms of the GNU General Public License as
 * modified by SRC, incorporated herein by reference.
 *
 * **********************
 *
 * For more details, see drivers/net/arcnet.c
 *
 * **********************
 */

#define pr_fmt(fmt)

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/ioport.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/list.h>
#include <linux/io.h>
#include <linux/leds.h>

#include "arcdevice.h"
#include "com20020.h"

/* Module parameters */

static int node;
static char device[9];		/* use eg. device="arc1" to change name */
static int timeout =;
static int backplane;
static int clockp;
static int clockm;

module_param(node, int, 0);
module_param_string();
module_param(timeout, int, 0);
module_param(backplane, int, 0);
module_param(clockp, int, 0);
module_param(clockm, int, 0);
MODULE_DESCRIPTION();
MODULE_LICENSE();

static void led_tx_set(struct led_classdev *led_cdev,
			     enum led_brightness value)
{}

static void led_recon_set(struct led_classdev *led_cdev,
			     enum led_brightness value)
{}

static ssize_t backplane_mode_show(struct device *dev,
				   struct device_attribute *attr,
				   char *buf)
{}
static DEVICE_ATTR_RO(backplane_mode);

static struct attribute *com20020_state_attrs[] =;

static const struct attribute_group com20020_state_group =;

static void com20020pci_remove(struct pci_dev *pdev);

static int com20020pci_probe(struct pci_dev *pdev,
			     const struct pci_device_id *id)
{}

static void com20020pci_remove(struct pci_dev *pdev)
{}

static struct com20020_pci_card_info card_info_10mbit =;

static struct com20020_pci_card_info card_info_5mbit =;

static struct com20020_pci_card_info card_info_sohard =;

static struct com20020_pci_card_info card_info_eae_arc1 =;

static struct com20020_pci_card_info card_info_eae_ma1 =;

static struct com20020_pci_card_info card_info_eae_fb2 =;

static const struct pci_device_id com20020pci_id_table[] =;

MODULE_DEVICE_TABLE(pci, com20020pci_id_table);

static struct pci_driver com20020pci_driver =;

static int __init com20020pci_init(void)
{}

static void __exit com20020pci_cleanup(void)
{}

module_init()
module_exit()