Remove 2.0 PCI code
authorDavid Schleef <ds@schleef.org>
Sun, 10 Feb 2002 04:56:45 +0000 (04:56 +0000)
committerDavid Schleef <ds@schleef.org>
Sun, 10 Feb 2002 04:56:45 +0000 (04:56 +0000)
comedi/drivers/ni_670x.c

index b16bdc92fe7683b30445804f84c7eb9aa7a51447..67980dd3b8f4ae574eb94f155d5d4325d38725ab 100644 (file)
@@ -295,14 +295,8 @@ static int ni_670x_find_device(comedi_device *dev,int bus,int slot)
                if(mite->used)continue;
                if(bus || slot)
                {
-               
-#if LINUX_VERSION_CODE < 0x020155
-                       if(bus!=mite->pci_bus || slot!=PCI_SLOT(mite->pci_device_fn))
-                               continue;
-#else
                        if(bus!=mite->pcidev->bus->number || slot!=PCI_SLOT(mite->pcidev->devfn))
                                continue;
-#endif
                }
 
                for(i=0;i<n_ni_670x_boards;i++)