X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=wait_for_sysfs.c;h=25a3fb4eef9bcf4279a5f07e5c4c4770ca2461ca;hb=92307b9e7bb08e1086d213617df3552e3ff53d75;hp=a5d8ab411117b070e75d5d17806b8eb64063eedc;hpb=7e89a569cc4db0c1482662dc4df5f60df7aef3ff;p=elogind.git diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c index a5d8ab411..25a3fb4ee 100644 --- a/wait_for_sysfs.c +++ b/wait_for_sysfs.c @@ -60,9 +60,10 @@ static int wait_for_class_device_attributes(struct sysfs_class_device *class_dev { .subsystem = "net", .file = "ifindex" }, { .subsystem = "scsi_host", .file = "unique_id" }, { .subsystem = "scsi_device", .file = NULL }, - { .subsystem = "pcmcia_socket", .file = "card_type" }, + { .subsystem = "pcmcia_socket", .file = NULL }, /* all files are unreadable in empty slot :( */ { .subsystem = "usb_host", .file = NULL }, { .subsystem = "bluetooth", .file = "address" }, + { .subsystem = "firmware", .file = "data" }, { .subsystem = "i2c-adapter", .file = NULL }, { .subsystem = "pci_bus", .file = NULL }, { .subsystem = "ieee1394", .file = NULL }, @@ -143,6 +144,8 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d { .subsystem = "net", .device = "ppp" }, { .subsystem = "net", .device = "lo" }, { .subsystem = "net", .device = "tap" }, + { .subsystem = "net", .device = "ipsec" }, + { .subsystem = "net", .device = "irda" }, { .subsystem = "sound", .device = NULL }, { .subsystem = "printer", .device = "lp" }, { .subsystem = "nvidia", .device = NULL },