mcb: export bus information via sysfs
authorJohannes Thumshirn <jthumshirn@suse.de>
Tue, 3 May 2016 07:46:23 +0000 (09:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 May 2016 22:07:35 +0000 (15:07 -0700)
commit803f1ca60d5c0107adfbce4e2d70488598b03a80
tree763936d780406f59bef75b19d91f674a855345ba
parent18d28819809909c3f24bb72183a901c5e332a63d
mcb: export bus information via sysfs

Export information about the bus stored in the FPGA's header to userspace via
sysfs, instead of hiding it in pr_debug()s from everyone.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Andreas Werner <andreas.werner@men.de>
Tested-by: Andreas Werner <andreas.werner@men.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-mcb [new file with mode: 0644]
drivers/mcb/mcb-core.c
drivers/mcb/mcb-internal.h
drivers/mcb/mcb-parse.c
include/linux/mcb.h