2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 14:14:01 +08:00
linux-next/include/linux/usb
David VomLehn 8e8dce0650 USB: use kfifo to buffer usb-generic serial writes
When do_output_char() attempts to write a carriage return/line feed sequence,
it first checks to see how much buffer room is available. If there are at least
two characters free, it will write the carriage return/line feed with two calls
to tty_put_char(). It calls the tty_operation functions write() for devices that
don't support the tty_operations function put_char(). If the USB generic serial
device's write URB is not in use, it will return the buffer size when asked how
much room is available. The write() of the carriage return will cause it to mark
the write URB busy, so the subsequent write() of the line feed will be ignored.

This patch uses the kfifo infrastructure to implement a write FIFO that
accurately returns the amount of space available in the buffer.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-23 06:46:34 -07:00
..
association.h
atmel_usba_udc.h
audio.h USB: audio: guard kernel-only code with __KERNEL__ 2009-09-23 06:46:31 -07:00
c67x00.h
cdc.h usbnet: CDC EEM support (v5) 2009-05-04 12:01:43 -07:00
ch9.h USB: Move vendor subclass definition from usb/audio.h to usb/ch9.h 2009-09-23 06:46:19 -07:00
composite.h USB: composite.h: mark private struct members as private: 2009-06-15 21:44:44 -07:00
ehci_def.h USB: EHCI: Add Intel Moorestown EHCI controller HOSTPCx extensions and support phy low power mode 2009-09-23 06:46:29 -07:00
g_printer.h
gadget.h
gadgetfs.h
gpio_vbus.h
input.h
iowarrior.h
irda.h
isp116x.h
isp1362.h USB: NXP ISP1362 USB host driver 2009-09-23 06:46:30 -07:00
isp1760.h USB: isp1760: allow platform devices to customize devflags 2009-09-23 06:46:29 -07:00
Kbuild
langwell_udc.h USB: Add Intel Langwell USB Device Controller driver 2009-06-15 21:44:47 -07:00
m66592.h usb: m66592-udc platform data on_chip support 2009-07-23 13:04:15 +09:00
midi.h
musb.h USB: musb: Prevent multiple includes of musb.h 2009-04-23 14:15:28 -07:00
net2280.h
otg.h USB: nop-usb-xceiv: behave when linked as a module 2009-06-15 21:44:40 -07:00
quirks.h
r8a66597.h usb: move r8a66597 register defines 2009-07-23 13:04:10 +09:00
rndis_host.h rndis_wlan: handle 802.11 indications from device 2009-08-04 16:44:17 -04:00
serial.h USB: use kfifo to buffer usb-generic serial writes 2009-09-23 06:46:34 -07:00
sl811.h
tmc.h
usbnet.h usbnet: convert to netdev_tx_t 2009-09-01 01:13:22 -07:00
video.h V4L/DVB (12187): uvcvideo: Move UVC definitions to linux/usb/video.h 2009-09-12 12:17:19 -03:00
vstusb.h
wusb-wa.h
wusb.h