01 Mar, 2014

1 commit

  • This allows easier modification to the eeprom than loading the
    fmc-write-eeprom module. The carrier driver will refuse writing if
    the FPGA is not running the golden gateware image, so writing in
    practice is only available at manufacture/development time.

    Signed-off-by: Alessandro Rubini
    Acked-by: Juan David Gonzalez Cobas
    Signed-off-by: Greg Kroah-Hartman

    Alessandro Rubini
     

16 Feb, 2014

1 commit

  • At registration and unregistration time, I was checking fmc->flags
    for FMC_DEVICE_NO_MEZZANINE, to skip initialization and cleanup for
    empty slots. The check was wrong ("==" instead of "&") but
    registration failed anyways (as expected) because we had no EEPROM.

    This commit fixes one such checks and removes the other, so to
    actually accept slots with no mezzanines. That's because the carrier
    may offer some support anyways (the SPEC does), and working on the
    carrier with no mezzanine-specific driver is common during
    development.

    Signed-off-by: Alessandro Rubini
    Acked-by: Juan David Gonzalez Cobas
    Signed-off-by: Greg Kroah-Hartman

    Alessandro Rubini
     

19 Jun, 2013

1 commit

  • This module offers registration services for both carriers
    (i.e. devices) and mezzanines (i.e. drivers). The matching for devices
    and drivers is performed according to the IPMI standard for FRU
    devices (Field Replaceable Units).

    The code includes support for parsing an SDB tree if present in the FPGA,
    and dumping it for diagnostics. SDB is not mandatory.

    Files in this commit correspond to commit ab23167f in the master branch
    of the project hosted on ohwr.org.

    Signed-off-by: Alessandro Rubini
    Acked-by: Juan David Gonzalez Cobas
    Acked-by: Emilio G. Cota
    Acked-by: Samuel Iglesias Gonsalvez
    Signed-off-by: Greg Kroah-Hartman

    Alessandro Rubini
     

18 Jun, 2013

1 commit

  • This commit creates the drivers/fmc directory and puts the necessary
    hooks for kbuild and kconfig. The code is currently a placeholder
    that only registers an empty bus.

    Signed-off-by: Alessandro Rubini
    Acked-by: Juan David Gonzalez Cobas
    Acked-by: Emilio G. Cota
    Acked-by: Samuel Iglesias Gonsalvez
    Signed-off-by: Greg Kroah-Hartman

    Alessandro Rubini