-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UIO_IRQ_DISABLED : 1 versus 0 - what's the logic here? #2
Comments
Is current implementation, disabling the irq functionality. not documented but it seems to work. Setting the irq disable to 0 will the enable the irq functionality in the kernel,,,, however there was no irq functionality put into the original hm2_soc_io ip core, so this would probably give some interresting displays of error enabling it with that ip core interface version. |
I see an enum as a definition of a constant, not a variable value, which why this is super-confusing |
Well thanks for the education... being happily ignorant is sometimes bliss...., and I thought no biggie of redefining that constant into something that seemed more appropriate for the actual application / implementation. ... I cannot remember if it works in the original version = 0 |
@the-snowwhite : how does this add up:
https://github.com/machinekit/machinekit-dkms/blob/master/drivers/hm2reg_uio/hm2reg_uio.c#L42
versus
https://github.com/mhaberler/linux-socfpga/blob/4.1-rt-overlay/drivers/uio/uio_pdrv_genirq.c#L42
The text was updated successfully, but these errors were encountered: