X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_sysfs.c;h=d46f1f26d85bf94fc55eab0a425ba2f164aac15d;hb=0d9057a1cebf2058c36879278b7ba03a5c8ed81f;hp=ada413c4845f95b7354216125ab87867cc290bd1;hpb=d2fe701e9c312be019118d0cc7326d3466164159;p=elogind.git diff --git a/udev_sysfs.c b/udev_sysfs.c index ada413c48..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 } }; @@ -171,9 +175,12 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d { .subsystem = "net", .device = "bnep" }, { .subsystem = "net", .device = "vmnet" }, { .subsystem = "net", .device = "ippp" }, + { .subsystem = "net", .device = "nlv" }, + { .subsystem = "net", .device = "atml" }, { .subsystem = "ppp", .device = NULL }, { .subsystem = "sound", .device = NULL }, { .subsystem = "printer", .device = "lp" }, + { .subsystem = "ppdev", .device = NULL }, { .subsystem = "nvidia", .device = NULL }, { .subsystem = "video4linux", .device = "vbi" }, { .subsystem = "dvb", .device = NULL },