Source-Changes archive

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

CVS commit: [jmcneill-usbmp] src/sys/dev/usb



Module Name:    src
Committed By:   mrg
Date:           Thu Dec  8 02:51:08 UTC 2011

Modified Files:
        src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uhci.c usb.c usb_subr.c
            usbdi.c usbdivar.h

Log Message:
- convert usbd_bus_methods{} and usbd_pipe_methods{} to use
  c99 struct initialisers

- move the locks from the pipe to the bus, since we'll need
  access to them from bus-level ops

- remove dead-for-years SPLUSBCHECK and replaced it with
  asserts that the thread lock is held

- begin to document the locking scheme

- convert usbd_*lock_pipe() into real function-like macros


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.3 -r1.181.6.4 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.5 -r1.218.6.6 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.4 -r1.240.6.5 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.125.6.3 -r1.125.6.4 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.180.6.1 -r1.180.6.2 src/sys/dev/usb/usb_subr.c
cvs rdiff -u -r1.134.2.1 -r1.134.2.2 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.93.8.1 -r1.93.8.2 src/sys/dev/usb/usbdivar.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