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 )
struct device dev
Generic device.
struct mca_driver * driver
Driver for this device.
int(* probe)(struct mca_device *mca, const struct mca_device_id *id)
Probe device.
void * priv
Driver-private data.
static void mca_set_drvdata(struct mca_device *mca, void *priv)
Set MCA driver-private data.
uint8_t id
Request identifier.
unsigned char pos[8]
POS register values.
unsigned int id_count
Number of entries in MCA ID table.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
struct mca_device_id * ids
MCA ID table.
static void * mca_get_drvdata(struct mca_device *mca)
Get MCA driver-private data.
static struct tlan_private * priv
unsigned int slot
Slot number.
An MCA device ID list entry.
void(* remove)(struct mca_device *mca)
Remove device.