04 Nov, 2019

1 commit

  • Now that we have symbol namespaces, use them in MCB to not pollute the
    default namespace with MCB internals.

    Signed-off-by: Johannes Thumshirn
    Reviewed-by: Jessica Yu
    Reviewed-by: Michael Moese
    Link: https://lore.kernel.org/r/20191016100158.1400-1-jthumshirn@suse.de
    Signed-off-by: Greg Kroah-Hartman

    Johannes Thumshirn
     

21 May, 2019

1 commit

  • Add SPDX license identifiers to all files which:

    - Have no license information of any form

    - Have EXPORT_.*_SYMBOL_GPL inside which was used in the
    initial scan/conversion to ignore the file

    These files fall under the project license, GPL v2 only. The resulting SPDX
    license identifier is:

    GPL-2.0-only

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

01 Sep, 2017

1 commit

  • If 'chameleon_get_bar()' fails, we will return 0, which mean success.
    We should return the corresponding error code instead.

    Remove the useless initialisation of 'ret' which was hiding the issue.
    (if 'ret' is not set, gcc generates a warning ("warning: ‘ret’ may be used
    uninitialized in this function"))

    Signed-off-by: Christophe JAILLET
    Signed-off-by: Johannes Thumshirn
    Signed-off-by: Greg Kroah-Hartman

    Christophe JAILLET
     

15 Nov, 2016

1 commit


31 Aug, 2016

1 commit

  • Added support for the bar descriptor. This type is used for FPGAs
    connect to the LPC or to a non PCI bus.

    The Bar descriptor could have a maximum of 6 BARs. Each of the
    devices within the FPGA could be mapped to a different BAR.
    The BAR descriptor is comparable to the PCI header.

    Signed-off-by: Andreas Werner
    [ free bar descriptor in the non-error case ]
    Signed-off-by: Johannes Thumshirn
    Signed-off-by: Greg Kroah-Hartman

    Andreas Werner
     

04 May, 2016

2 commits

  • The bar number is found in reg2 within the gdd. Therefore
    we need to change the assigment from reg1 to reg2 which
    is the correct location.

    Signed-off-by: Andreas Werner
    Fixes: '3764e82e5' drivers: Introduce MEN Chameleon Bus
    Cc: stable@vger.kernel.org # v3.15+
    Signed-off-by: Johannes Thumshirn
    Signed-off-by: Greg Kroah-Hartman

    Andreas Werner
     
  • 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
    Reviewed-by: Andreas Werner
    Tested-by: Andreas Werner
    Signed-off-by: Greg Kroah-Hartman

    Johannes Thumshirn
     

17 Apr, 2014

1 commit


01 Mar, 2014

1 commit

  • The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik
    FPGA based devices. It is used to identify MCB based IP-Cores within
    an FPGA and provide the necessary framework for instantiating drivers
    for these devices.

    Signed-off-by: Johannes Thumshirn
    Signed-off-by: Greg Kroah-Hartman

    Johannes Thumshirn