View Issue Details

IDProjectCategoryView StatusLast Update
0002338fsvybrid_LinuxGeneralpublic2015-02-04 15:35
ReporterKeller Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product Versionfsvybrid-V2.1 
Target Versionfsvybrid-V2.2 
Summary0002338: Improve implementation of bdinfo device
DescriptionDon't use a static struct with all the data when the device is created. This is not flexible enough. The structure (and therefore the driver) must be changed for every new item that should be provided via /sys/bdinfo.

Instead use an additonal function like

  int add_bdinfo_entry(char *filename, char *content, int mode)

that creates a new entry /sys/bdinfo/<filename> with mode <mode> and content <content>.

When using this mechanism, we can provide data of any kind and need not change the driver anymore.
Forum Link

Activities

There are no notes attached to this issue.