13 Aug, 2013

1 commit

  • This local symbol is used only in this file.
    Fix the following sparse warnings:

    drivers/fmc/fmc-write-eeprom.c:106:5: warning: symbol 'fwe_probe' was not declared. Should it be static?
    drivers/fmc/fmc-write-eeprom.c:147:5: warning: symbol 'fwe_remove' was not declared. Should it be static?

    Signed-off-by: Jingoo Han
    Acked-by: Alessandro Rubini
    Signed-off-by: Greg Kroah-Hartman

    Jingoo Han
     

25 Jul, 2013

1 commit

  • The fmc-chardev module was over-locking, by calling misc
    register/unregister while holding its spinlock. This reported a
    "scheduling while atomic" error.

    Since the misc driver already serializes operations internally, this
    commit downgrades the fmc-chardev lock to just cover its own list.

    Reported-by: Sasha Levin
    Reported-by: Fengguang Wu
    Signed-off-by: Alessandro Rubini
    Signed-off-by: Greg Kroah-Hartman

    Alessandro Rubini
     

25 Jun, 2013

1 commit


20 Jun, 2013

2 commits


19 Jun, 2013

5 commits

  • This driver exports the memory area associated with the mezzanine card
    as a misc device, so users can access registers.

    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
     
  • This driver allows to reprogram the EEPROM in a mezzanine, to store
    its own identifiers during manufacturing or to save other useful data.

    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
     
  • This simple do-nothing mezzanine driver shows how to write a mezzanine
    driver, that can also handle interrupts reported by the carrier.

    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
     
  • This fake carrier is designed to help FMC users understand how a
    carrier driver works, and to experiment the behaviour with EEPROM
    reprogramming (with a mezzanine driver commited later). This carrier
    can register up to 4 (fake) mezzanines.

    We have real carriers (both on PCI-E and VME), but they are bigger
    things and are not part of this submission.

    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
     
  • 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