patch-2.4.0-test2 linux/drivers/usb/hid.h

Next file: linux/drivers/usb/hub.c
Previous file: linux/drivers/usb/hid.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/usb/hid.h linux/drivers/usb/hid.h
@@ -2,7 +2,7 @@
 #define __HID_H
 
 /*
- *  drivers/usb/hid.h  Version 0.8
+ * $Id: hid.h,v 1.4 2000/05/29 09:01:52 vojtech Exp $
  *
  *  Copyright (c) 1999 Andreas Gal
  *  Copyright (c) 2000 Vojtech Pavlik
@@ -292,7 +292,9 @@
 	struct urb urb;							/* USB URB structure */
 	struct urb urbout;						/* Output URB */
 	struct input_dev input;						/* input device structure */
+	int open;							/* is the device open by input? */
 	int quirks;							/* Various nasty tricks the device can pull on us */
+	char name[128];							/* Device name */
 };
 
 #define HID_GLOBAL_STACK_SIZE 4

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)