summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_dev.h
Commit message (Collapse)AuthorAgeFilesLines
* USB core:alfred2009-07-301-2/+2
| | | | | | | | | | | | | | | - add support for defragging of written device data. - improve handling of alternate settings in device side mode. - correct return value from usbd_get_no_alts() function. - reported by: HPS - P4 ID: 166156, 166168 - report USB device release information to devd and pnpinfo. - reported by: MIHIRA Sanpei Yoshiro - P4 ID: 166221 Submitted by: hps Approved by: re
* - Make struct usb_xfer opaque so that drivers can not access the internalsthompsa2009-06-231-66/+13
| | | | - Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
* Fix _USB2_* refernces in the header protection defines.thompsa2009-06-151-3/+3
|
* s/usb2_/usb_|usbd_/ on all function names for the USB stack.thompsa2009-06-151-24/+24
|
* Place the fifo and ref counting variables on the stack to prevent races.thompsa2009-06-021-2/+8
| | | | Submitted by: Hans Petter Selasky
* Revert the size_t part of the last commit for the moment, this blows up thethompsa2009-05-301-4/+4
| | | | USB_ADD_BYTES macro.
* s/usb2_/usb_/ on all typedefs for the USB stack.thompsa2009-05-291-25/+25
|
* s/usb2_/usb_/ on all C structs for the USB stack.thompsa2009-05-281-56/+56
|
* MFp4 //depot/projects/usb @159431,159437,159438thompsa2009-03-201-9/+10
| | | | | | | - start using the new USB typedefs in the USB core - Remove usage of USB_ADD_BYTES() Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb 159225,159241,159292thompsa2009-03-171-2/+4
| | | | | | | | | | | Fix regression issue in the USB file system interface. - Use cdev_privdata pointer as indicator of correct file handle. - Remove redundant FIFO opened flags. Don't send ZLP at close for ulpt and uscanner devices as this causes some models to stop working. This reverts back to the USB1 behaviour. Submitted by: Hans Petter Selasky
* - Remove the usb interface number from the device nodes as it is not needed.thompsa2009-02-281-2/+0
| | | | | | | - Do not recreate the device nodes in set_alt_interface as the endpoints do not change. Submitted by: Hans Petter Selasky
* Change USB over to make_dev() for all device nodes, previously it hooked intothompsa2009-02-271-10/+42
| | | | | | | | | | | | | | | the devfs clone handler to open the (invisible) devices on the fly. The /dev entries are layed out as follows, /dev/usbctl = master device /dev/usb/0.1.0.5 = usb device, (<bus>.<dev>.<iface>.<endpoint>) /dev/ugen0.1 -> usb/0.1.0.0 = ugen link to ctrl endpoint This also removes the custom permissions model from USB. Bump __FreeBSD_version to 800066. Submitted by: rink (earlier version)
* Move the new USB stack into its new home.thompsa2009-02-231-0/+168
OpenPOWER on IntegriCloud