summaryrefslogtreecommitdiff
path: root/packages/linux/unslung-kernel/missing-usb-ioctls.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/unslung-kernel/missing-usb-ioctls.patch')
-rw-r--r--packages/linux/unslung-kernel/missing-usb-ioctls.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/linux/unslung-kernel/missing-usb-ioctls.patch b/packages/linux/unslung-kernel/missing-usb-ioctls.patch
index e69de29bb2..ba4c606d48 100644
--- a/packages/linux/unslung-kernel/missing-usb-ioctls.patch
+++ b/packages/linux/unslung-kernel/missing-usb-ioctls.patch
@@ -0,0 +1,11 @@
+--- linux-2.4.22/include/linux/usbdevice_fs.h.orig 2004-10-31 20:05:45.989296261 +1100
++++ linux-2.4.22/include/linux/usbdevice_fs.h 2004-10-31 22:55:50.470987905 +1100
+@@ -142,6 +142,8 @@
+ #define USBDEVFS_HUB_PORTINFO _IOR('U', 19, struct usbdevfs_hub_portinfo)
+ #define USBDEVFS_RESET _IO('U', 20)
+ #define USBDEVFS_CLEAR_HALT _IOR('U', 21, unsigned int)
++#define USBDEVFS_DISCONNECT _IO('U', 22)
++#define USBDEVFS_CONNECT _IO('U', 23)
+
+ /* --------------------------------------------------------------------- */
+