diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-07-24 07:14:44 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-08-03 03:02:44 -0400 |
commit | 2ce4905e4da9f512b38f56a53ece9da2072dd164 (patch) | |
tree | 64ca3ecc0dea9b4fbdca2c9b1353ee282e9afc82 /drivers/pcmcia/cs_internal.h | |
parent | 3dace8cf15ae1dd7c9384758b3a29556b441a90a (diff) |
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>
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r-- | drivers/pcmcia/cs_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h index cebd40da8b9b..a85558fc71f3 100644 --- a/drivers/pcmcia/cs_internal.h +++ b/drivers/pcmcia/cs_internal.h | |||
@@ -35,7 +35,9 @@ typedef struct config_t { | |||
35 | unsigned int ConfigBase; | 35 | unsigned int ConfigBase; |
36 | unsigned char Status, Pin, Copy, Option, ExtStatus; | 36 | unsigned char Status, Pin, Copy, Option, ExtStatus; |
37 | unsigned int CardValues; | 37 | unsigned int CardValues; |
38 | io_req_t io; | 38 | |
39 | struct resource io[MAX_IO_WIN]; /* io ports */ | ||
40 | |||
39 | struct { | 41 | struct { |
40 | u_int Attributes; | 42 | u_int Attributes; |
41 | } irq; | 43 | } irq; |