Skip to contentSkip to conversation

Humusoft MF624 DAQ PCI card driver

PATCH New Rostislav Lisovy 1 participant 2 messages Aug 30, 2013 Userspace I/O (UIO)

lore
Share & tools
lore
#0 lore raw

cover Humusoft MF624 DAQ PCI card driver

This patch adds UIO Driver for Humusoft MF624 DAQ PCI card. Somebody may ask why UIO driver, not a Comedi driver.
The very original idea was to use the MF624 with UIO to teach students (at Czech Technical University in Prague, Faculty of Electrical Engineering) how to interact with hardware in C -- comfortably from user-space. Some computers at FEE, CTU are already equipped with these cards -- however for those students who would want to work at home/with their own computer there is also an implementation of the virtual MF624 for Qemu. Unfortunately it is still not in mainline, available from git:
git://rtime.felk.cvut.cz/mf6xx.git

Rostislav Lisovy (1):
drivers: uio: Add driver for Humusoft MF624 DAQ PCI card

 drivers/uio/Kconfig     |   13 +++
 drivers/uio/Makefile    |    1 +
 drivers/uio/uio_mf624.c |  247 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 261 insertions(+)
 create mode 100644 drivers/uio/uio_mf624.c
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 drivers: uio: Add driver for Humusoft MF624 DAQ PCI card

---
 drivers/uio/Kconfig     |   13 +++
 drivers/uio/Makefile    |    1 +
 drivers/uio/uio_mf624.c |  247 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 261 insertions(+)
 create mode 100644 drivers/uio/uio_mf624.c
drivers/uio/Kconfig +13 -0
index 5295be0..76c4cb9 100644
@@ -128,4 +128,17 @@ config UIO_PRUSS
 	  To compile this driver as a module, choose M here: the module
 	  will be called uio_pruss.
 
+config UIO_MF624
+	tristate "Humusoft MF624 DAQ PCI card driver"
+	depends on PCI
+	help
+	  Userspace I/O interface for the Humusoft MF624 PCI card.
+	  A sample userspace application using this driver is available
+	  (among other MF624 related information and software components)
+	  for download in a git repository:
+
+	    git clone git://rtime.felk.cvut.cz/mf6xx.git
+
+	  If you compile this as a module, it will be called uio_mf624.
+
 endif
drivers/uio/Makefile +1 -0
index b354c53..4649f5d5 100644
@@ -8,3 +8,4 @@ obj-$(CONFIG_UIO_SERCOS3)	+= uio_sercos3.o
 obj-$(CONFIG_UIO_PCI_GENERIC)	+= uio_pci_generic.o
 obj-$(CONFIG_UIO_NETX)	+= uio_netx.o
 obj-$(CONFIG_UIO_PRUSS)         += uio_pruss.o
+obj-$(CONFIG_UIO_MF624)         += uio_mf624.o
drivers/uio/uio_mf624.c new file +247 -0

247 lines not on this page · raw message

Signature · 1 line
1.7.10.4