[ds.h] need WIN_FLAGS_WIN_0, 1, 2, 3 definition
Komuro
hqa02330 at nifty.com
Sat Jul 23 23:28:10 EDT 2011
Hi,
I think we need WIN_FLAGS_WIN_0, 1, 2, 3 definition below
any comment?
--- linux-2.6.39/include/pcmcia/ds.h.orig 2011-03-15 10:20:32.000000000 +090
0
+++ linux-2.6.39/include/pcmcia/ds.h 2011-07-24 12:12:40.000000000 +090
0
@@ -236,11 +236,11 @@ void pcmcia_disable_device(struct pcmcia
#define WIN_FLAGS_MAP 0x63 /* MAP_ATTRIB | MAP_16BIT | MAP_ACTIVE |
MAP_USE_WAIT */
-#define WIN_FLAGS_REQ 0x1c /* mapping to socket->win[i]:
- 0x04 -> 0
- 0x08 -> 1
- 0x0c -> 2
- 0x10 -> 3 */
+#define WIN_FLAGS_REQ 0x1c /* mapping to socket->win[i]: */
+#define WIN_FLAGS_WIN_0 0x04
+#define WIN_FLAGS_WIN_1 0x08
+#define WIN_FLAGS_WIN_2 0x0c
+#define WIN_FLAGS_WIN_3 0x10
/* config_reg{ister}s present for this PCMCIA device */
#define PRESENT_OPTION 0x001
Best Regards
Komuro
[I changed my e-mail address.]
More information about the linux-pcmcia
mailing list