diff options
author | John Ogness <john.ogness@linutronix.de> | 2008-09-18 13:57:15 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-16 20:24:53 +0400 |
commit | a6030fcc608bd333c80eab3bfc72f63906476c61 (patch) | |
tree | 28057d28d93ab033a0fe0ee87326986bddba94c8 /lib | |
parent | a6fcc3a196d34f6619173ff83c33f8a42074bb76 (diff) | |
download | linux-a6030fcc608bd333c80eab3bfc72f63906476c61.tar.xz |
UIO: add automata sercos3 pci card support
Here is a new version of the patch to support the Automata Sercos III
PCI card driver. I now check that the IRQ is enabled before accepting
the interrupt.
I still use a logical OR to store the enabled interrupts and I've
added a second use of a logical OR when restoring the enabled
interrupts. I added an explanation of why I do this in comments at the
top of the source file.
Since I use a logical OR, I also removed the extra checks if the
Interrupt Enable Register and ier0_cache are 0.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions