Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/usb



Module Name:    src
Committed By:   pavel
Date:           Sun Dec  3 22:34:58 UTC 2006

Modified Files:
        src/sys/dev/usb: ugen.c uhid.c usb.c usb.h usb_subr.c usbdi.c usbdi.h

Log Message:
Restore compatibility of USB_DEVICEINFO ioctl and reads from /dev/usb with
NetBSD 3.x. Patch from Stephan Thesing provided in
http://mail-index.netbsd.org/current-users/2006/03/21/0002.html, with some
modifications by me.
See also
http://mail-index.netbsd.org/current-users/2006/08/29/0017.html

The code is conditionally compiled depending on COMPAT_30.

Also fix a leak of struct usb_event in usbread() introduced while converting
on-stack variables to dynamic allocation.

Reviewed by martin@.


To generate a diff of this commit:
cvs rdiff -r1.88 -r1.89 src/sys/dev/usb/ugen.c
cvs rdiff -r1.72 -r1.73 src/sys/dev/usb/uhid.c
cvs rdiff -r1.91 -r1.92 src/sys/dev/usb/usb.c
cvs rdiff -r1.74 -r1.75 src/sys/dev/usb/usb.h
cvs rdiff -r1.138 -r1.139 src/sys/dev/usb/usb_subr.c
cvs rdiff -r1.114 -r1.115 src/sys/dev/usb/usbdi.c
cvs rdiff -r1.70 -r1.71 src/sys/dev/usb/usbdi.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index