projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4293565
)
[PATCH] pcmcia: Add macro to match PCMCIA cards by numeric ID and first vendor string
author
Pavel Roskin
<proski@gnu.org>
Tue, 28 Feb 2006 06:18:29 +0000
(
01:18
-0500)
committer
Dominik Brodowski
<linux@dominikbrodowski.net>
Wed, 1 Mar 2006 10:11:26 +0000
(11:11 +0100)
This is needed to distinguish Intersil and non-Intersil cards with
numeric ID 0x0156, 0x0002.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
include/pcmcia/device_id.h
patch
|
blob
|
blame
|
history
diff --git
a/include/pcmcia/device_id.h
b/include/pcmcia/device_id.h
index 346d81ece2873ec9aeeafd8e9b5bd3a92b34ee4d..e04e0b0d9a25a5b0c4903f3a51cab2af33de6d90 100644
(file)
--- a/
include/pcmcia/device_id.h
+++ b/
include/pcmcia/device_id.h
@@
-72,6
+72,15
@@
.prod_id = { (v1), (v2), (v3), (v4) }, \
.prod_id_hash = { (vh1), (vh2), (vh3), (vh4) }, }
+#define PCMCIA_DEVICE_MANF_CARD_PROD_ID1(manf, card, v1, vh1) { \
+ .match_flags = PCMCIA_DEV_ID_MATCH_MANF_ID| \
+ PCMCIA_DEV_ID_MATCH_CARD_ID| \
+ PCMCIA_DEV_ID_MATCH_PROD_ID1, \
+ .manf_id = (manf), \
+ .card_id = (card), \
+ .prod_id = { (v1), NULL, NULL, NULL }, \
+ .prod_id_hash = { (vh1), 0, 0, 0 }, }
+
/* multi-function devices */