Description:
Product ID string of a Greybus interface block.
-What: /sys/bus/greybus/device/endoE:M:I/unique_id
-Date: October 2015
-KernelVersion: 4.XX
-Contact: Greg Kroah-Hartman <greg@kroah.com>
-Description:
- Unique ID of a Greybus interface block.
-
What: /sys/bus/greybus/device/endoE:M:I/vendor
Date: October 2015
KernelVersion: 4.XX
gb_interface_attr(device_id, d);
gb_interface_attr(vendor, x);
gb_interface_attr(product, x);
-gb_interface_attr(unique_id, llX);
gb_interface_attr(vendor_string, s);
gb_interface_attr(product_string, s);
&dev_attr_device_id.attr,
&dev_attr_vendor.attr,
&dev_attr_product.attr,
- &dev_attr_unique_id.attr,
&dev_attr_vendor_string.attr,
&dev_attr_product_string.attr,
NULL,
// Vendor, Product and Unique id must come via control protocol
intf->vendor = 0xffff;
intf->product = 0x0001;
- intf->unique_id = 0;
/* Release the interface descriptor, now that we're done with it */
release_manifest_descriptor(interface_desc);