commit | 172178452b4e0062fff497b296059b10cd3c85ef | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Fri Jan 29 18:44:21 2016 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Fri Jan 29 18:44:21 2016 +0800 |
tree | 1c834ff93b6dff3768625ab14c0f1099902f77ff | |
parent | d831f960d32325bf4fa22ca6f73626ff0566636b [diff] |
console-server: Specify devices by kernel names This change adds a little lookup code to find the device path in sysfs, so changing the --device syntax to give just the raw kname (ie, without the /dev/ prefix). We'll use this later to interact with the extended properties of a VUART. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>