Searched refs:dev_interface (Results 1 - 1 of 1) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/extras/usb_id/ |
H A D | usb_id.c | 225 struct sysfs_device *dev_interface; local 235 /* get all usb specific information: dev_interface, if_class, dev_usb */ 243 dev_interface = sysfs_device_get_parent_with_subsystem(dev, "usb"); 244 if (dev_interface == NULL) { 249 if_class = sysfs_attr_get_value(dev_interface->devpath, "bInterfaceClass"); 251 info("%s: cannot get bInterfaceClass attribute", dev_interface->kernel); 256 if_subclass = sysfs_attr_get_value(dev_interface->devpath, "bInterfaceSubClass"); 262 info("%s: if_class %d protocol %d\n", dev_interface->devpath, if_class_num, protocol); 265 dev_usb = sysfs_device_get_parent_with_subsystem(dev_interface, "usb");
|
Completed in 204 milliseconds