diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-03-19 08:06:43 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-03-22 08:24:53 -0400 |
commit | ec64213c4d482ee4d15b34511441eaecdd002adf (patch) | |
tree | 58f9ada4b6c82fffe9e0da2b72aa64bf879a5718 /drivers/char/moxa.h | |
parent | 220bf991b0366cc50a94feede3d7341fa5710ee4 (diff) |
virtio: console: Generate a kobject CHANGE event on adding 'name' attribute
When the host lets us know what 'name' a port is assigned, we create the
sysfs 'name' attribute. Generate a 'change' event after this so that
udev wakes up and acts on the rules for virtio-ports (currently there's
only one rule that creates a symlink from the 'name' to the actual char
device).
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/char/moxa.h')
0 files changed, 0 insertions, 0 deletions