57#define ISAPNP_ADDRESS 0x279
58#define ISAPNP_WRITE_DATA 0xa79
59#define ISAPNP_READ_PORT_MIN 0x203
60#define ISAPNP_READ_PORT_START 0x213
65#define ISAPNP_READ_PORT_MAX 0x3ff
66#define ISAPNP_READ_PORT_STEP 0x10
75#define ISAPNP_CSN_MIN 0x01
76#define ISAPNP_CSN_MAX 0x0f
79#define ISAPNP_READPORT 0x00
80#define ISAPNP_SERIALISOLATION 0x01
81#define ISAPNP_CONFIGCONTROL 0x02
82#define ISAPNP_WAKE 0x03
83#define ISAPNP_RESOURCEDATA 0x04
84#define ISAPNP_STATUS 0x05
85#define ISAPNP_CARDSELECTNUMBER 0x06
86#define ISAPNP_LOGICALDEVICENUMBER 0x07
87#define ISAPNP_ACTIVATE 0x30
88#define ISAPNP_IORANGECHECK 0x31
89#define ISAPNP_IOBASE(n) ( 0x60 + ( (n) * 2 ) )
90#define ISAPNP_IRQNO(n) ( 0x70 + ( (n) * 2 ) )
91#define ISAPNP_IRQTYPE(n) ( 0x71 + ( (n) * 2 ) )
94#define ISAPNP_CONFIG_RESET ( 1 << 0 )
95#define ISAPNP_CONFIG_WAIT_FOR_KEY ( 1 << 1 )
96#define ISAPNP_CONFIG_RESET_CSN ( 1 << 2 )
97#define ISAPNP_CONFIG_RESET_DRV ( ISAPNP_CONFIG_RESET | \
98 ISAPNP_CONFIG_WAIT_FOR_KEY | \
99 ISAPNP_CONFIG_RESET_CSN )
102#define ISAPNP_LFSR_SEED 0x6a
105#define ISAPNP_IS_SMALL_TAG(tag) ( ! ( (tag) & 0x80 ) )
106#define ISAPNP_SMALL_TAG_NAME(tag) ( ( (tag) >> 3 ) & 0xf )
107#define ISAPNP_SMALL_TAG_LEN(tag) ( ( (tag) & 0x7 ) )
108#define ISAPNP_TAG_PNPVERNO 0x01
109#define ISAPNP_TAG_LOGDEVID 0x02
110#define ISAPNP_TAG_COMPATDEVID 0x03
111#define ISAPNP_TAG_IRQ 0x04
112#define ISAPNP_TAG_DMA 0x05
113#define ISAPNP_TAG_STARTDEP 0x06
114#define ISAPNP_TAG_ENDDEP 0x07
115#define ISAPNP_TAG_IOPORT 0x08
116#define ISAPNP_TAG_FIXEDIO 0x09
117#define ISAPNP_TAG_RSVDSHORTA 0x0A
118#define ISAPNP_TAG_RSVDSHORTB 0x0B
119#define ISAPNP_TAG_RSVDSHORTC 0x0C
120#define ISAPNP_TAG_RSVDSHORTD 0x0D
121#define ISAPNP_TAG_VENDORSHORT 0x0E
122#define ISAPNP_TAG_END 0x0F
124#define ISAPNP_IS_LARGE_TAG(tag) ( ( (tag) & 0x80 ) )
125#define ISAPNP_LARGE_TAG_NAME(tag) (tag)
126#define ISAPNP_TAG_MEMRANGE 0x81
127#define ISAPNP_TAG_ANSISTR 0x82
128#define ISAPNP_TAG_UNICODESTR 0x83
129#define ISAPNP_TAG_VENDORLONG 0x84
130#define ISAPNP_TAG_MEM32RANGE 0x85
131#define ISAPNP_TAG_FIXEDMEM32RANGE 0x86
132#define ISAPNP_TAG_RSVDLONG0 0xF0
133#define ISAPNP_TAG_RSVDLONG1 0xF1
134#define ISAPNP_TAG_RSVDLONG2 0xF2
135#define ISAPNP_TAG_RSVDLONG3 0xF3
136#define ISAPNP_TAG_RSVDLONG4 0xF4
137#define ISAPNP_TAG_RSVDLONG5 0xF5
138#define ISAPNP_TAG_RSVDLONG6 0xF6
139#define ISAPNP_TAG_RSVDLONG7 0xF7
140#define ISAPNP_TAG_RSVDLONG8 0xF8
141#define ISAPNP_TAG_RSVDLONG9 0xF9
142#define ISAPNP_TAG_RSVDLONGA 0xFA
143#define ISAPNP_TAG_RSVDLONGB 0xFB
144#define ISAPNP_TAG_RSVDLONGC 0xFC
145#define ISAPNP_TAG_RSVDLONGD 0xFD
146#define ISAPNP_TAG_RSVDLONGE 0xFE
147#define ISAPNP_TAG_RSVDLONGF 0xFF
148#define ISAPNP_TAG_PSEUDO_NEWBOARD 0x100
232#define ISAPNP_DRIVERS __table ( struct isapnp_driver, "isapnp_drivers" )
235#define __isapnp_driver __table_entry ( ISAPNP_DRIVERS, 01 )
uint64_t serial
Serial number.
uint8_t id
Request identifier.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
uint16_t isapnp_read_port
ISAPnP Read Port address.
static void deactivate_isapnp_device(struct isapnp_device *isapnp)
Deactivate ISAPnP device.
static void * isapnp_get_drvdata(struct isapnp_device *isapnp)
Get ISAPnP driver-private data.
static void isapnp_set_drvdata(struct isapnp_device *isapnp, void *priv)
Set ISAPnP driver-private data.
void isapnp_device_activation(struct isapnp_device *isapnp, int activation)
Activate or deactivate an ISAPnP device.
static void activate_isapnp_device(struct isapnp_device *isapnp)
Activate ISAPnP device.
uint8_t checksum
Checksum.
An ISAPnP device ID list entry.
uint16_t vendor_id
Vendor ID.
uint16_t prod_id
Product ID.
uint16_t ioaddr
I/O address.
uint8_t csn
Card Select Number.
uint16_t prod_id
Product ID.
uint8_t irqno
Interrupt number.
uint8_t logdev
Logical Device ID.
void * priv
Driver-private data.
struct device dev
Generic device.
struct isapnp_driver * driver
Driver for this device.
uint16_t vendor_id
Vendor ID.
int(* probe)(struct isapnp_device *isapnp, const struct isapnp_device_id *id)
Probe device.
struct isapnp_device_id * ids
ISAPnP ID table.
unsigned int id_count
Number of entries in ISAPnP ID table.
An ISAPnP serial identifier.
An ISAPnP logical device ID structure.
uint16_t prod_id
Product ID.
uint16_t vendor_id
Vendor ID.
static struct tlan_private * priv
static struct xen_remove_from_physmap * remove