From: Brad H. <bh...@bi...> - 2002-07-21 10:55:03
|
G'day, The attached patch basically implements: +struct input_devinfo { + uint16_t bustype; + uint16_t vendor; + uint16_t product; + uint16_t version; +}; + -#define EVIOCGID _IOR('E', 0x02, short[4]) /* get device ID */ +#define EVIOCGID _IOR('E', 0x02, struct input_devinfo) /* get device ID */ It affects just about every input driver, as a result of some associated cleanups that I applied, and its about 40K uncompressed - hence the gzip. Is there anything that would stop this being applied? Also, I note that some drivers don't set all the id values (before or after patch). Is there any reason for this? Brad -- http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black. |