mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 03:36:41 +07:00
98fcb5f781
The usb_debug driver was modified to implement serial break handling by using a "magic" data packet comprised of the sequence: 0x00 0xff 0x01 0xfe 0x00 0xfe 0x01 0xff When the tty layer requests a serial break the usb_debug driver sends the magic packet. On the receiving side the magic packet is thrown away or a sysrq is activated depending on what kernel .config options have been set. The generic serial driver was modified as well as the usb serial headers to generically implement sysrq processing in the same way the non usb uart based drivers implement the sysrq handling. This will allow other usb serial devices to implement sysrq handling as desired. The new usb serial functions are named similarly and implemented similarly to the uart functions as follows: usb_serial_handle_break <-> uart_handle_break usb_serial_handle_sysrq_char <-> uart_handle_sysrq_char Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
association.h | ||
atmel_usba_udc.h | ||
audio.h | ||
c67x00.h | ||
cdc.h | ||
ch9.h | ||
composite.h | ||
ehci_def.h | ||
g_printer.h | ||
gadget.h | ||
gadgetfs.h | ||
gpio_vbus.h | ||
input.h | ||
iowarrior.h | ||
irda.h | ||
isp116x.h | ||
Kbuild | ||
midi.h | ||
musb.h | ||
net2280.h | ||
otg.h | ||
quirks.h | ||
rndis_host.h | ||
serial.h | ||
sl811.h | ||
tmc.h | ||
usbnet.h | ||
vstusb.h | ||
wusb-wa.h | ||
wusb.h |