|
@@ -10,6 +10,8 @@
|
|
* ioctls.
|
|
* ioctls.
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
+#include <linux/joystick.h>
|
|
|
|
+
|
|
#include <linux/types.h>
|
|
#include <linux/types.h>
|
|
#include <linux/compat.h>
|
|
#include <linux/compat.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/kernel.h>
|
|
@@ -2642,6 +2644,12 @@ COMPATIBLE_IOCTL(VIDEO_SET_ATTRIBUTES)
|
|
COMPATIBLE_IOCTL(VIDEO_GET_SIZE)
|
|
COMPATIBLE_IOCTL(VIDEO_GET_SIZE)
|
|
COMPATIBLE_IOCTL(VIDEO_GET_FRAME_RATE)
|
|
COMPATIBLE_IOCTL(VIDEO_GET_FRAME_RATE)
|
|
|
|
|
|
|
|
+/* joystick */
|
|
|
|
+COMPATIBLE_IOCTL(JSIOCGVERSION)
|
|
|
|
+COMPATIBLE_IOCTL(JSIOCGAXES)
|
|
|
|
+COMPATIBLE_IOCTL(JSIOCGBUTTONS)
|
|
|
|
+COMPATIBLE_IOCTL(JSIOCGNAME(0))
|
|
|
|
+
|
|
/* now things that need handlers */
|
|
/* now things that need handlers */
|
|
HANDLE_IOCTL(MEMREADOOB32, mtd_rw_oob)
|
|
HANDLE_IOCTL(MEMREADOOB32, mtd_rw_oob)
|
|
HANDLE_IOCTL(MEMWRITEOOB32, mtd_rw_oob)
|
|
HANDLE_IOCTL(MEMWRITEOOB32, mtd_rw_oob)
|