View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002338 | fsvybrid_Linux | General | public | 2014-08-23 00:06 | 2015-02-04 15:35 |
Reporter | Keller | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Product Version | fsvybrid-V2.1 | ||||
Target Version | fsvybrid-V2.2 | ||||
Summary | 0002338: Improve implementation of bdinfo device | ||||
Description | Don'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 | |||||