Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [itohy-usb1] src/sys/dev/usb
Module Name: src
Committed By: itohy
Date: Fri Jun 22 10:12:25 UTC 2007
Modified Files:
src/sys/dev/usb [itohy-usb1]: api.txt usb.c usbdi.c usbdi.h usbdivar.h
Log Message:
- Introduce USBD_CALLBACK_AS_TASK flag, which causes the callback function
is called as a USB_TASKQ_DRIVER task, with thread context.
This makes sharing Ethernet drivers with FreeBSD (that requires context
for some network-related code) much easier.
The flag is not used by NetBSD/OpenBSD for now.
- Rename xfer->async_task as xfer->task, now used by both async xfer and the
callback above.
- Use 0 as idle task queue ID (definition USB_TASKQ_IDLE added), and
increase USB_TASKQ_HC and USB_TASKQ_DRIVER accordingly.
This makes passing zero-initialized (but not initialized by usb_init_task())
usb_task to usb_rem_task() be ignored, rather than panic the system.
To generate a diff of this commit:
cvs rdiff -r1.1.2.2 -r1.1.2.3 src/sys/dev/usb/api.txt
cvs rdiff -r1.95.4.2 -r1.95.4.3 src/sys/dev/usb/usb.c
cvs rdiff -r1.119.12.2 -r1.119.12.3 src/sys/dev/usb/usbdi.c
cvs rdiff -r1.72.10.3 -r1.72.10.4 src/sys/dev/usb/usbdi.h
cvs rdiff -r1.80.12.2 -r1.80.12.3 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