| add firmware version to info in sysfs | | +static struct disk_attribute disk_attr_fwver = { | + .attr = {.name = "fwver", .mode = S_IRUGO }, | + .show = aoedisk_show_fwver | +}; | @@ -64,6 +76,7 @@ aoedisk_rm_sysfs(struct aoedev *d) | sysfs_remove_link(&d->gd->kobj, "state"); | sysfs_remove_link(&d->gd->kobj, "mac"); | sysfs_remove_link(&d->gd->kobj, "netif"); | + sysfs_remove_link(&d->gd->kobj, "fwver");
It's a good thing that you spelled out "firmware version" for me. Just seeing 'fwver' provided these comments from others: n vwls s bd (well, it does have 'e'; maybe it shouldn't :) friends fwver fw is firewire so something like 'firmware-version' would be appreciated (for the sysfs filename). Thanks, --- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/