projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bfb16f
)
Remove 2.0 PCI code
author
David Schleef
<ds@schleef.org>
Sun, 10 Feb 2002 04:56:45 +0000
(
04:56
+0000)
committer
David Schleef
<ds@schleef.org>
Sun, 10 Feb 2002 04:56:45 +0000
(
04:56
+0000)
comedi/drivers/ni_670x.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_670x.c
b/comedi/drivers/ni_670x.c
index b16bdc92fe7683b30445804f84c7eb9aa7a51447..67980dd3b8f4ae574eb94f155d5d4325d38725ab 100644
(file)
--- a/
comedi/drivers/ni_670x.c
+++ b/
comedi/drivers/ni_670x.c
@@
-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++)