/* Update-0.7.57->0.7.68MODULE_DESCRIPTION("Comedi ADDI-DATA module"); */
/* Update-0.7.57->0.7.68MODULE_LICENSE("GPL"); */
-#if defined(CONFIG_APCI_1710) || defined(CONFIG_APCI_3200) || defined(CONFIG_APCI_3300)
-/* BYTE b_SaveFPUReg [94]; */
-
-void fpu_begin(void)
-{
- /* asm ("fstenv b_SaveFPUReg"); */
- kernel_fpu_begin();
-}
-
-void fpu_end(void)
-{
- /* asm ("frstor b_SaveFPUReg"); */
- kernel_fpu_end();
-}
-#endif
-
-#include "addi_eeprom.c"
-#if (defined (CONFIG_APCI_3120) || defined (CONFIG_APCI_3001))
-#include "hwdrv_apci3120.c"
-#endif
-#ifdef CONFIG_APCI_1032
-#include "hwdrv_apci1032.c"
-#endif
-#ifdef CONFIG_APCI_1516
-#include "hwdrv_apci1516.c"
-#endif
-#ifdef CONFIG_APCI_2016
-#include "hwdrv_apci2016.c"
-#endif
-#ifdef CONFIG_APCI_2032
-#include "hwdrv_apci2032.c"
-#endif
-#ifdef CONFIG_APCI_2200
-#include "hwdrv_apci2200.c"
-#endif
-#ifdef CONFIG_APCI_1564
-#include "hwdrv_apci1564.c"
-#endif
-#ifdef CONFIG_APCI_1500
-#include "hwdrv_apci1500.c"
-#endif
-#ifdef CONFIG_APCI_3501
-#include "hwdrv_apci3501.c"
-#endif
-#ifdef CONFIG_APCI_035
-#include "hwdrv_apci035.c"
-#endif
-#if (defined (CONFIG_APCI_3200) || defined (CONFIG_APCI_3300))
-#include "hwdrv_apci3200.c"
-#endif
-#ifdef CONFIG_APCI_1710
-#include "hwdrv_APCI1710.c"
-#endif
-#ifdef CONFIG_APCI_16XX
-#include "hwdrv_apci16xx.c"
-#endif
-#ifdef CONFIG_APCI_3XXX
-#include "hwdrv_apci3xxx.c"
-#endif
-
#ifndef COMEDI_SUBD_TTLIO
#define COMEDI_SUBD_TTLIO 11 /* Digital Input Output But TTL */
#endif
#define ADDIDATA_DRIVER_NAME "addi_apci_035"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci035.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#define ADDIDATA_DRIVER_NAME "addi_apci_1032"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci1032.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#define ADDIDATA_DRIVER_NAME "addi_apci_1500"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci1500.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#define ADDIDATA_DRIVER_NAME "addi_apci_1516"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci1516.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#define ADDIDATA_DRIVER_NAME "addi_apci_1564"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci1564.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#define ADDIDATA_DRIVER_NAME "addi_apci_16xx"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci16xx.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#include "addi-data/addi_common.h"
#include "addi-data/addi_amcc_s5933.h"
+static void fpu_begin(void)
+{
+ kernel_fpu_begin();
+}
+
+static void fpu_end(void)
+{
+ kernel_fpu_end();
+}
+
#define CONFIG_APCI_1710 1
#define ADDIDATA_DRIVER_NAME "addi_apci_1710"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_APCI1710.c"
#include "addi-data/addi_common.c"
#define ADDIDATA_DRIVER_NAME "addi_apci_2016"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci2016.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#define ADDIDATA_DRIVER_NAME "addi_apci_2032"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci2032.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#define ADDIDATA_DRIVER_NAME "addi_apci_2200"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci2200.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#define ADDIDATA_DRIVER_NAME "addi_apci_3001"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci3120.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#define ADDIDATA_DRIVER_NAME "addi_apci_3120"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci3120.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#include "addi-data/addi_common.h"
#include "addi-data/addi_amcc_s5933.h"
+static void fpu_begin(void)
+{
+ kernel_fpu_begin();
+}
+
+static void fpu_end(void)
+{
+ kernel_fpu_end();
+}
+
#define CONFIG_APCI_3200 1
#define ADDIDATA_DRIVER_NAME "addi_apci_3200"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci3200.c"
#include "addi-data/addi_common.c"
#include "addi-data/addi_common.h"
#include "addi-data/addi_amcc_s5933.h"
+static void fpu_begin(void)
+{
+ kernel_fpu_begin();
+}
+
+static void fpu_end(void)
+{
+ kernel_fpu_end();
+}
+
#define CONFIG_APCI_3300 1
#define ADDIDATA_DRIVER_NAME "addi_apci_3300"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci3200.c"
#include "addi-data/addi_common.c"
#define ADDIDATA_DRIVER_NAME "addi_apci_3501"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci3501.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");
#define ADDIDATA_DRIVER_NAME "addi_apci_3xxx"
+#include "addi-data/addi_eeprom.c"
+#include "addi-data/hwdrv_apci3xxx.c"
#include "addi-data/addi_common.c"
MODULE_AUTHOR("Comedi http://www.comedi.org");