21#define MCA_MOTHERBOARD_SETUP_REG 0x94
22#define MCA_ADAPTER_SETUP_REG 0x96
23#define MCA_MAX_SLOT_NR 0x07
24#define MCA_POS_REG(n) (0x100+(n))
27#define GENERIC_MCA_VENDOR ISA_VENDOR ( 'M', 'C', 'A' )
55#define MCA_ID(mca) ( ( (mca)->pos[1] << 8 ) + (mca)->pos[0] )
81#define MCA_DRIVERS __table ( struct mca_driver, "mca_drivers" )
84#define __mca_driver __table_entry ( MCA_DRIVERS, 01 )
uint8_t id
Request identifier.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
static void mca_set_drvdata(struct mca_device *mca, void *priv)
Set MCA driver-private data.
static void * mca_get_drvdata(struct mca_device *mca)
Get MCA driver-private data.
An MCA device ID list entry.
unsigned char pos[8]
POS register values.
struct device dev
Generic device.
unsigned int slot
Slot number.
void * priv
Driver-private data.
struct mca_driver * driver
Driver for this device.
struct mca_device_id * ids
MCA ID table.
int(* probe)(struct mca_device *mca, const struct mca_device_id *id)
Probe device.
void(* remove)(struct mca_device *mca)
Remove device.
unsigned int id_count
Number of entries in MCA ID table.
static struct tlan_private * priv