summaryrefslogtreecommitdiff
blob: 337f91beee8b6258a72803e89e3df821e9aa3196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -urp pcmcia-cs-3.2.8/cardmgr/cardinfo.c pcmcia-cs-3.2.9/cardmgr/cardinfo.c
--- pcmcia-cs-3.2.8/cardmgr/cardinfo.c	2004-02-28 17:59:10.000000000 +0100
+++ pcmcia-cs-3.2.9/cardmgr/cardinfo.c	2005-06-15 07:25:06.000000000 +0200
@@ -101,7 +101,9 @@ static event_tag_t event_tag[] = {
     { CS_EVENT_CARD_REMOVAL, "card removal" },
     { CS_EVENT_RESET_PHYSICAL, "prepare for reset" },
     { CS_EVENT_CARD_RESET, "card reset successful" },
+#ifdef CS_EVENT_RESET_COMPLETE
     { CS_EVENT_RESET_COMPLETE, "reset request complete" },
+#endif
     { CS_EVENT_EJECTION_REQUEST, "user eject request" },
     { CS_EVENT_INSERTION_REQUEST, "user insert request" },
     { CS_EVENT_PM_SUSPEND, "suspend card" },
diff -urp pcmcia-cs-3.2.8/cardmgr/xcardinfo.c pcmcia-cs-3.2.9/cardmgr/xcardinfo.c
--- pcmcia-cs-3.2.8/cardmgr/xcardinfo.c	2004-02-28 17:59:10.000000000 +0100
+++ pcmcia-cs-3.2.9/cardmgr/xcardinfo.c	2005-06-15 07:25:06.000000000 +0200
@@ -94,7 +94,9 @@ static event_tag_t event_tag[] = {
   { CS_EVENT_CARD_REMOVAL, "card removal" },
   { CS_EVENT_RESET_PHYSICAL, "prepare for reset" },
   { CS_EVENT_CARD_RESET, "card reset successful" },
+#ifdef CS_EVENT_RESET_COMPLETE
   { CS_EVENT_RESET_COMPLETE, "reset request complete" },
+#endif
   { CS_EVENT_EJECTION_REQUEST, "user eject request" },
   { CS_EVENT_INSERTION_REQUEST, "user insert request" },
   { CS_EVENT_PM_SUSPEND, "suspend card" },