X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_sysfs.c;h=d46f1f26d85bf94fc55eab0a425ba2f164aac15d;hb=35413b2b88838de180ccfe6e2307c04caf24c393;hp=ac8e4c10600d26c0b47d444ec93dc7244ea3a4a2;hpb=0dfbe9451b47cfa0464f5d3ba232ceccf26ae189;p=elogind.git diff --git a/udev_sysfs.c b/udev_sysfs.c index ac8e4c106..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 }, @@ -53,6 +54,8 @@ static const struct subsystem_file { { .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 } };