From a6030fcc608bd333c80eab3bfc72f63906476c61 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Thu, 18 Sep 2008 11:57:15 +0200 Subject: 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 Signed-off-by: Hans J. Koch Signed-off-by: Greg Kroah-Hartman --- drivers/uio/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'drivers/uio/Kconfig') diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig index 4190be64917..04b954cfce7 100644 --- a/drivers/uio/Kconfig +++ b/drivers/uio/Kconfig @@ -58,4 +58,17 @@ config UIO_SMX If you compile this as a module, it will be called uio_smx. +config UIO_SERCOS3 + tristate "Automata Sercos III PCI card driver" + default n + help + Userspace I/O interface for the Sercos III PCI card from + Automata GmbH. The userspace part of this driver will be + available for download from the Automata GmbH web site. + + Automata GmbH: http://www.automataweb.com + Sercos III interface: http://www.sercos.com + + If you compile this as a module, it will be called uio_sercos3. + endif -- cgit v1.2.3-70-g09d2