#include <linux/timex.h>
#include <linux/timer.h>
#include <linux/pci.h>
+#include <linux/init.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/comedidev.h>
#define n_boardtypes (sizeof(boardtypes)/sizeof(boardtype))
#define this_board ((boardtype *)dev->board_ptr)
+static struct pci_device_id daqboard2000_pci_table[] __devinitdata = {
+ { 0x1616, 0x0409, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+ { 0 }
+};
+MODULE_DEVICE_TABLE(pci, daqboard2000_pci_table);
+
typedef struct {
enum {
card_daqboard_2000
goto out;
}
+ if((result = pci_enable_device(card))<0){
+ goto out;
+ }
+
if (card->hdr_type == PCI_HEADER_TYPE_NORMAL) {
u32 id;
int i;