patch-2.4.8 linux/drivers/usb/scanner.c
Next file: linux/drivers/usb/scanner.h
Previous file: linux/drivers/usb/rio500.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue Jul 24 14:20:56 2001
- Orig file:
v2.4.7/linux/drivers/usb/scanner.c
- Orig date:
Wed Jul 25 17:10:24 2001
diff -u --recursive --new-file v2.4.7/linux/drivers/usb/scanner.c linux/drivers/usb/scanner.c
@@ -858,6 +858,10 @@
switch (cmd)
{
+ case IOCTL_SCANNER_VENDOR :
+ return (put_user(dev->descriptor.idVendor, (unsigned int *) arg));
+ case IOCTL_SCANNER_PRODUCT :
+ return (put_user(dev->descriptor.idProduct, (unsigned int *) arg));
case PV8630_IOCTL_INREQUEST :
{
struct {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)