Skip to content
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

Open
mhaberler opened this issue May 3, 2016 · 4 comments
Open

UIO_IRQ_DISABLED : 1 versus 0 - what's the logic here? #2

mhaberler opened this issue May 3, 2016 · 4 comments

Comments

@mhaberler
Copy link
Contributor

@the-snowwhite
Copy link

UIO_IRQ_DISABLED = 1,

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.

@mhaberler
Copy link
Contributor Author

I see an enum as a definition of a constant, not a variable value, which why this is super-confusing
redefining constants across source files?

@the-snowwhite
Copy link

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
Copy link

machinekit/mksocfpga#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants