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>
1 file changed
tree: 1c834ff93b6dff3768625ab14c0f1099902f77ff
  1. console-server.c
  2. Makefile