X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_sysfs.c;h=d46f1f26d85bf94fc55eab0a425ba2f164aac15d;hb=35413b2b88838de180ccfe6e2307c04caf24c393;hp=5f7c63d31d439e1a20a674b463185db7343ad90d;hpb=e1b7e62a2676bf679f3eae8997caf0ea703e573d;p=elogind.git diff --git a/udev_sysfs.c b/udev_sysfs.c index 5f7c63d31..d46f1f26d 100644 --- a/udev_sysfs.c +++ b/udev_sysfs.c @@ -39,6 +39,7 @@ static const struct subsystem_file { const char *subsystem; const char *file; } subsystem_files[] = { + { .subsystem = "class", .file = NULL }, { .subsystem = "net", .file = "ifindex" }, { .subsystem = "scsi_host", .file = "unique_id" }, { .subsystem = "scsi_device", .file = NULL }, @@ -52,6 +53,9 @@ static const struct subsystem_file { { .subsystem = "ieee1394_host", .file = NULL }, { .subsystem = "ieee1394_node", .file = NULL }, { .subsystem = "fc_transport", .file = "port_id" }, + { .subsystem = "fc_host", .file = "port_id" }, + { .subsystem = "spi_transport", .file = "width" }, + { .subsystem = "spi_host", .file = "width" }, { NULL, NULL } };