From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932500AbcCRNt6 (ORCPT ); Fri, 18 Mar 2016 09:49:58 -0400 Received: from mx2.suse.de ([195.135.220.15]:46166 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756827AbcCRNt4 (ORCPT ); Fri, 18 Mar 2016 09:49:56 -0400 From: Johannes Thumshirn To: Johannes Thumshirn Cc: Andreas Werner , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] mcb: export FPGA information via sysfs Date: Fri, 18 Mar 2016 14:49:50 +0100 Message-Id: <1458308992-5953-1-git-send-email-jthumshirn@suse.de> X-Mailer: git-send-email 2.7.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following series adds a way to obtain information about a MCB FPGA via sysfs. This is viable i.e. for a field technician to check if the latest FPGA bitstream version is applied to the hardware. The first patch layes the foundation in order to get sysfs correctly working with MCB and the second patch exports the bus information into sysfs. Johannes Thumshirn (2): mcb: Correctly initialize the bus's device mcb: export bus information via sysfs Documentation/ABI/testing/sysfs-bus-mcb | 29 ++++++++++++ drivers/mcb/mcb-core.c | 79 +++++++++++++++++++++++++++++++-- drivers/mcb/mcb-internal.h | 1 - drivers/mcb/mcb-parse.c | 15 +++---- include/linux/mcb.h | 14 ++++-- 5 files changed, 121 insertions(+), 17 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-bus-mcb -- 2.7.2