mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
pcmcia: simplify IntType
IntType was only set to INT_MEMORY (driver pcmciamtd) or INT_MEMORY_AND_IO (all other drivers). As this flags seems to relate to ioport access, make it conditional to the driver having requested IO port access. There are two drivers which do not request IO ports, but did set INT_MEMORY_AND_IO: ray_cs and b43. For those, we consistently only set INT_MEMORY in future. CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: [email protected] CC: Jiri Kosina <[email protected]> CC: [email protected] Acked-by: Gustavo F. Padovan <[email protected]> (for drivers/bluetooth) Tested-by: Wolfram Sang <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
fc30110103
commit
37979e1546
57 changed files with 1 additions and 78 deletions
|
|
@ -22,7 +22,6 @@
|
|||
/* For RequestConfiguration */
|
||||
typedef struct config_req_t {
|
||||
u_int Attributes;
|
||||
u_int IntType;
|
||||
u_int ConfigBase;
|
||||
u_char ConfigIndex;
|
||||
u_int Present;
|
||||
|
|
@ -36,12 +35,6 @@ typedef struct config_req_t {
|
|||
#define CONF_ENABLE_ESR 0x10
|
||||
#define CONF_VALID_CLIENT 0x100
|
||||
|
||||
/* IntType field */
|
||||
#define INT_MEMORY 0x01
|
||||
#define INT_MEMORY_AND_IO 0x02
|
||||
#define INT_CARDBUS 0x04
|
||||
#define INT_ZOOMED_VIDEO 0x08
|
||||
|
||||
/* Configuration registers present */
|
||||
#define PRESENT_OPTION 0x001
|
||||
#define PRESENT_STATUS 0x002
|
||||
|
|
|
|||
Loading…
Reference in a new issue