[patch v2 0/3] staging: speakup: support more than ttyS*

From: Okash Khawaja
Date: Sun Jun 18 2017 - 05:35:40 EST


The patchset now contains a separate patch for dev name-to-number
conversion functionality inside tty_io.c.

These patches extend speakup support to ttyUSB* and lp*. They introduce
a new module param dev whose function is similar to ser but instead of
taking serial port number as argument, it takes strings like ttyS0 or

Patch 1 adds functionality to convert such strings into dev_t.
Patch 2 uses the function in patch 1 and performs some checks.
Patch 3 adds new module param and actually extends support to more than

Samuel, I have kept the Reviewed-by for patch 3 which has slightly
changed from before - 'dev' renamed to 'dev_name' - but not for patch 2
which is a bit different now that dev name to number conversion has
moved to tty_io.c. Please let me know if you think otherwise.