/* SunOS Virtual User Input Device (VUID) compatibility */ typedef struct firm_event { unsigned short id; /* tag for this event */ unsigned char pair_type; /* unused by X11 */ unsigned char pair; /* unused by X11 */ int value; /* VKEY_UP, VKEY_DOWN or delta */ struct timeval time; } Firm_event; enum { FE_PAIR_NONE, FE_PAIR_SET, FE_PAIR_DELTA, FE_PAIR_ABSOLUTE }; /* VUID stream formats */ #define VUID_NATIVE 0 /* Native byte stream format */ #define VUID_FIRM_EVENT 1 /* send firm_event structures */ /* ioctls */ /* Set input device byte stream format (any of VUID_{NATIVE,FIRM_EVENT}) */ #define VUIDSFORMAT _IOW('v', 1, int) /* Retrieve input device byte stream format */ #define VUIDGFORMAT _IOR('v', 2, int) /* Possible tag values */ /* mouse buttons: */ #define MS_LEFT 0x7f20 #define MS_MIDDLE 0x7f21 #define MS_RIGHT 0x7f22 /* motion: */ #define LOC_X_DELTA 0x7f80 #define LOC_Y_DELTA 0x7f81 #define LOC_X_ABSOLUTE 0x7f82 /* X compat, unsupported */ #define LOC_Y_ABSOLUTE 0x7f83 /* X compat, unsupported */ #define VKEY_UP 0 #define VKEY_DOWN 1 oodhouse <David.Woodhouse@intel.com> [MTD] map_rom has NULL erase pointer 2009-01-11T19:56:46+00:00 Alan Cox alan@redhat.com 2009-01-11T19:52:19+00:00 5f877607cdfe8b60bf96fb96e527e0ce2a21e68b Which means if inftl or similar are loaded with it (which is a dumb thing to do admittedly) it may oops. Closes #8108 [dwmw2: change error to -EROFS to match write-protected flash] Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Which means if inftl or similar are loaded with it (which is a dumb thing
to do admittedly) it may oops.

Closes #8108

[dwmw2: change error to -EROFS to match write-protected flash]
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
MTD/JFFS2: remove CVS keywords 2008-06-04T16:50:17+00:00 Adrian Bunk bunk@kernel.org 2008-05-19T22:03:52+00:00 59018b6d2acabb114ab58637e6ab95ba424a89d0 Once upon a time, the MTD repository was using CVS. This patch therefore removes all usages of the no longer updated CVS keywords from the MTD code. This also includes code that printed them to the user. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Once upon a time, the MTD repository was using CVS.

This patch therefore removes all usages of the no longer updated CVS
keywords from the MTD code.

This also includes code that printed them to the user.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
[MTD] replace kmalloc+memset with kzalloc 2006-11-28T23:47:21+00:00 Burman Yan yan_952@hotmail.com 2006-11-15T19:10:29+00:00 95b93a0cd46682c6d9e8eea803fda510cb6b863a Signed-off-by: Yan Burman <yan_952@hotmail.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Yan Burman <yan_952@hotmail.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>