KastnerRG / riffa

The RIFFA development repository
https://riffa.ucsd.edu
Other
766 stars 313 forks source link

Fixes an initialization race condition #17

Open jhicks-camgian opened 7 years ago

jhicks-camgian commented 7 years ago

This change moves the allocation of the PCI drvdata to the prologue of the fpga_probe() routine and then relies upon drvdata->id to determine initialization readiness during the intrpt_handler() routine.