aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ozwpan/ozeventdef.h
diff options
context:
space:
mode:
authorRupesh Gujare <rgujare@ozmodevices.com>2012-03-29 13:11:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-10 09:40:52 -0700
commit68a75f3f1aeae099388f63e4cec3ad08aff8e7da (patch)
tree442ca9c3e25df79a5913d5796588448d9ece6101 /drivers/staging/ozwpan/ozeventdef.h
parentstaging/mei: wd.c normalize debug and error messages (diff)
downloadlinux-dev-68a75f3f1aeae099388f63e4cec3ad08aff8e7da.tar.xz
linux-dev-68a75f3f1aeae099388f63e4cec3ad08aff8e7da.zip
staging: ozwpan: Replace existing event logging mechanism
This patch replaces existing event logging mechanism from ioctl to debugfs. This patch replaces previous patch submitted by Chris Kelly. Previous patch can be found at :- http://article.gmane.org/gmane.linux.usb.general/60026/ Signed-off-by: Rupesh Gujare <rgujare@ozmodevices.com> Signed-off-by: Chris Kelly <ckelly@ozmodevices.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozeventdef.h')
-rw-r--r--drivers/staging/ozwpan/ozeventdef.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/drivers/staging/ozwpan/ozeventdef.h b/drivers/staging/ozwpan/ozeventdef.h
index a880288bab11..4b938981671a 100644
--- a/drivers/staging/ozwpan/ozeventdef.h
+++ b/drivers/staging/ozwpan/ozeventdef.h
@@ -29,19 +29,12 @@
#define OZ_EVT_DEBUG 20
struct oz_event {
- unsigned long jiffies;
- unsigned char evt;
- unsigned char ctx1;
- unsigned short ctx2;
- void *ctx3;
- unsigned ctx4;
-};
-
-#define OZ_EVT_LIST_SZ 64
-struct oz_evtlist {
- int count;
- int missed;
- struct oz_event evts[OZ_EVT_LIST_SZ];
+ __u32 jiffies;
+ __u8 evt;
+ __u8 ctx1;
+ __u16 ctx2;
+ __u32 ctx3;
+ __u32 ctx4;
};
#endif /* _OZEVENTDEF_H */