uio_sercos3.c (a9de18eb761f7c1c860964b2e5addc1a35c7e861) | uio_sercos3.c (5a0e3ad6af8660be21ca98a971cd00f331318c05) |
---|---|
1/* sercos3: UIO driver for the Automata Sercos III PCI card 2 3 Copyright (C) 2008 Linutronix GmbH 4 Author: John Ogness <john.ogness@linutronix.de> 5 6 This is a straight-forward UIO driver, where interrupts are disabled 7 by the interrupt handler and re-enabled via a write to the UIO device 8 by the userspace-part. --- 14 unchanged lines hidden (view full) --- 23 a write to the UIO device. 24*/ 25 26#include <linux/device.h> 27#include <linux/module.h> 28#include <linux/pci.h> 29#include <linux/uio_driver.h> 30#include <linux/io.h> | 1/* sercos3: UIO driver for the Automata Sercos III PCI card 2 3 Copyright (C) 2008 Linutronix GmbH 4 Author: John Ogness <john.ogness@linutronix.de> 5 6 This is a straight-forward UIO driver, where interrupts are disabled 7 by the interrupt handler and re-enabled via a write to the UIO device 8 by the userspace-part. --- 14 unchanged lines hidden (view full) --- 23 a write to the UIO device. 24*/ 25 26#include <linux/device.h> 27#include <linux/module.h> 28#include <linux/pci.h> 29#include <linux/uio_driver.h> 30#include <linux/io.h> |
31#include <linux/slab.h> |
|
31 32/* ID's for SERCOS III PCI card (PLX 9030) */ 33#define SERCOS_SUB_VENDOR_ID 0x1971 34#define SERCOS_SUB_SYSID_3530 0x3530 35#define SERCOS_SUB_SYSID_3535 0x3535 36#define SERCOS_SUB_SYSID_3780 0x3780 37 38/* Interrupt Enable Register */ --- 205 unchanged lines hidden --- | 32 33/* ID's for SERCOS III PCI card (PLX 9030) */ 34#define SERCOS_SUB_VENDOR_ID 0x1971 35#define SERCOS_SUB_SYSID_3530 0x3530 36#define SERCOS_SUB_SYSID_3535 0x3535 37#define SERCOS_SUB_SYSID_3780 0x3780 38 39/* Interrupt Enable Register */ --- 205 unchanged lines hidden --- |