pcmcia: use struct resource for PCMCIA devices
Introduce a new field into struct pcmcia_device named "resource" and of type struct resource *, which contains the IO port ranges allocated for this device. Memory window ranges and registration with the resource trees will follow at a later date. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
@@ -35,7 +35,9 @@ typedef struct config_t {
|
||||
unsigned int ConfigBase;
|
||||
unsigned char Status, Pin, Copy, Option, ExtStatus;
|
||||
unsigned int CardValues;
|
||||
io_req_t io;
|
||||
|
||||
struct resource io[MAX_IO_WIN]; /* io ports */
|
||||
|
||||
struct {
|
||||
u_int Attributes;
|
||||
} irq;
|
||||
|
Reference in New Issue
Block a user