Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964920AbcCRO0v (ORCPT ); Fri, 18 Mar 2016 10:26:51 -0400 Received: from mx2.suse.de ([195.135.220.15]:50044 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964858AbcCRO0s (ORCPT ); Fri, 18 Mar 2016 10:26:48 -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 15:26:35 +0100 Message-Id: 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 Content-Length: 953 Lines: 24 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. Changes from v1: * Address kbuild robots warning about broken bisectability 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