]> xenbits.xensource.com Git - xen.git/commit
drivers/char: allow using both dbgp=xhci and dbgp=ehci
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Mon, 26 Sep 2022 09:09:19 +0000 (11:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 26 Sep 2022 09:09:19 +0000 (11:09 +0200)
commit022e40edd4dc00b9784e5e659dac7f9f92bedfa3
tree9b06dc048c69c5a21f7a358db2b09fab55d2814f
parentc1db78cae105e5b166f41ecac7ccb8cbfd82693f
drivers/char: allow using both dbgp=xhci and dbgp=ehci

This allows configuring EHCI and XHCI consoles separately,
simultaneously, such that e.g. one can be used for the console and the
other by the debugger.

This changes string_param() to custom_param() in both ehci and xhci
drivers. Both drivers parse only values applicable to them.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.pandoc
xen/drivers/char/ehci-dbgp.c
xen/drivers/char/serial.c
xen/drivers/char/xhci-dbc.c
xen/include/xen/serial.h