From: Amit Shah Date: Mon, 21 Dec 2009 16:27:40 +0000 (+0530) Subject: virtio: console: Register with sysfs and create a 'name' attribute for ports X-Git-Tag: v2.6.34-rc1~294^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=431edb8a8bca71008fefceadf53b9315ef7196ec;p=pandora-kernel.git virtio: console: Register with sysfs and create a 'name' attribute for ports The host can set a name for ports so that they're easily discoverable instead of going by the /dev/vportNpn naming. This attribute will be placed in /sys/class/virtio-ports/vportNpn/name. udev scripts can then create symlinks to the port using the name. Signed-off-by: Amit Shah Signed-off-by: Rusty Russell --- Reading git-diff-tree failed