summaryrefslogtreecommitdiff
path: root/drivers/gpib/include/quancom_pci.h
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2025-11-17 15:40:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-24 17:52:11 +0100
commite6ab504633e4c06e35377ecf3c8cbc304de79858 (patch)
treedc8847cb3d571c6a5381e1e83bc24d8fd043f295 /drivers/gpib/include/quancom_pci.h
parenta64ff10ca69bd3d6f056fdf5fcf80922fa9a4492 (diff)
downloadlinux-next-e6ab504633e4c06e35377ecf3c8cbc304de79858.tar.gz
linux-next-e6ab504633e4c06e35377ecf3c8cbc304de79858.zip
staging: gpib: Destage gpib
Move the gpib drivers out of staging and into the "real" part of the kernel. This entails: - Remove the gpib Kconfig menu and Makefile build rule from staging. - Remove gpib/uapi from the header file search path in subdir-ccflags of the gpib Makefile - move the gpib/uapi files to include/uapi/linux - Move the gpib tree out of staging to drivers. - Remove the word "Linux" from the gpib Kconfig file. - Add the gpib Kconfig menu and Makefile build rule to drivers Signed-off-by: Dave Penkler <dpenkler@gmail.com> Link: https://patch.msgid.link/20251117144021.23569-5-dpenkler@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpib/include/quancom_pci.h')
-rw-r--r--drivers/gpib/include/quancom_pci.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/gpib/include/quancom_pci.h b/drivers/gpib/include/quancom_pci.h
new file mode 100644
index 000000000000..cdaf0d056be9
--- /dev/null
+++ b/drivers/gpib/include/quancom_pci.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/***************************************************************************
+ * Quancom pci stuff
+ * copyright (C) 2005 by Frank Mori Hess
+ ***************************************************************************/
+
+#ifndef _QUANCOM_PCI_H
+#define _QUANCOM_PCI_H
+
+/* quancom registers */
+enum quancom_regs {
+ QUANCOM_IRQ_CONTROL_STATUS_REG = 0xfc,
+};
+
+enum quancom_irq_control_status_bits {
+ QUANCOM_IRQ_ASSERTED_BIT = 0x1, /* readable */
+ /* (any write to the register clears the interrupt)*/
+ QUANCOM_IRQ_ENABLE_BIT = 0x4, /* writeable */
+};
+
+#endif // _QUANCOM_PCI_H