diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-07-24 11:23:51 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-08-03 03:04:11 -0400 |
commit | 90abdc3b973229bae98dd96649d9f7106cc177a4 (patch) | |
tree | 5c1a7a131b65560dd73b5103118d8c7631bd76a4 /include/pcmcia/cs.h | |
parent | 9a017a910346afd88ec2e065989903bf211a7d37 (diff) |
pcmcia: do not use io_req_t when calling pcmcia_request_io()
Instead of io_req_t, drivers are now requested to fill out
struct pcmcia_device *p_dev->resource[0,1] for up to two ioport
ranges. After a call to pcmcia_request_io(), the ports found there
are reserved, after calling pcmcia_request_configuration(), they may
be used.
CC: netdev@vger.kernel.org
CC: linux-wireless@vger.kernel.org
CC: linux-ide@vger.kernel.org
CC: linux-usb@vger.kernel.org
CC: laforge@gnumonks.org
CC: linux-mtd@lists.infradead.org
CC: alsa-devel@alsa-project.org
CC: linux-serial@vger.kernel.org
CC: Michael Buesch <mb@bu3sch.de>
Acked-by: Marcel Holtmann <marcel@holtmann.org> (for drivers/bluetooth/)
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/cs.h')
-rw-r--r-- | include/pcmcia/cs.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index 0cd8c70d8aaa..ad71bb5a8658 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h | |||
@@ -56,23 +56,6 @@ typedef struct config_req_t { | |||
56 | #define INT_CARDBUS 0x04 | 56 | #define INT_CARDBUS 0x04 |
57 | #define INT_ZOOMED_VIDEO 0x08 | 57 | #define INT_ZOOMED_VIDEO 0x08 |
58 | 58 | ||
59 | /* For RequestIO and ReleaseIO */ | ||
60 | typedef struct io_req_t { | ||
61 | u_int BasePort1; | ||
62 | u_int NumPorts1; | ||
63 | u_int Attributes1; | ||
64 | u_int BasePort2; | ||
65 | u_int NumPorts2; | ||
66 | u_int Attributes2; | ||
67 | u_int IOAddrLines; | ||
68 | } io_req_t; | ||
69 | |||
70 | /* Attributes for RequestIO and ReleaseIO */ | ||
71 | #define IO_DATA_PATH_WIDTH 0x18 | ||
72 | #define IO_DATA_PATH_WIDTH_8 0x00 | ||
73 | #define IO_DATA_PATH_WIDTH_16 0x08 | ||
74 | #define IO_DATA_PATH_WIDTH_AUTO 0x10 | ||
75 | |||
76 | /* Bits in IRQInfo1 field */ | 59 | /* Bits in IRQInfo1 field */ |
77 | #define IRQ_NMI_ID 0x01 | 60 | #define IRQ_NMI_ID 0x01 |
78 | #define IRQ_IOCK_ID 0x02 | 61 | #define IRQ_IOCK_ID 0x02 |