linux/drivers/net/arcnet/com20020.h

/*
 * Linux ARCnet driver - COM20020 chipset support - function declarations
 *
 * Written 1997 by David Woodhouse.
 * Written 1994-1999 by Avery Pennarun.
 * 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
 *
 * **********************
 */
#ifndef __COM20020_H
#define __COM20020_H
#include <linux/leds.h>

int com20020_check(struct net_device *dev);
int com20020_found(struct net_device *dev, int shared);
extern const struct net_device_ops com20020_netdev_ops;

/* The number of low I/O ports used by the card. */
#define ARCNET_TOTAL_SIZE

#define PLX_PCI_MAX_CARDS

struct ledoffsets {};

struct com20020_pci_channel_map {};

struct com20020_pci_card_info {};

struct com20020_priv {};

struct com20020_dev {};

#define COM20020_REG_W_INTMASK
#define COM20020_REG_R_STATUS
#define COM20020_REG_W_COMMAND
#define COM20020_REG_R_DIAGSTAT
#define COM20020_REG_W_ADDR_HI
#define COM20020_REG_W_ADDR_LO
#define COM20020_REG_RW_MEMDATA
#define COM20020_REG_W_SUBADR
#define COM20020_REG_W_CONFIG
#define COM20020_REG_W_XREG

/* in the ADDR_HI register */
#define RDDATAflag

/* in the DIAGSTAT register */
#define NEWNXTIDflag

/* in the CONFIG register */
#define RESETcfg
#define TXENcfg
#define XTOcfg(x)

/* in SETUP register */
#define PROMISCset
#define P1MODE
#define SLOWARB

/* COM2002x */
#define SUB_TENTATIVE
#define SUB_NODE
#define SUB_SETUP1
#define SUB_TEST

/* COM20022 only */
#define SUB_SETUP2
#define SUB_BUSCTL
#define SUB_DMACOUNT

static inline void com20020_set_subaddress(struct arcnet_local *lp,
					   int ioaddr, int val)
{}

#endif /* __COM20020_H */