projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ae32f9
)
Corrected error in previous commit (PCI bus/slot option support).
author
Ian Abbott
<abbotti@mev.co.uk>
Mon, 14 Apr 2008 14:58:50 +0000
(14:58 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Mon, 14 Apr 2008 14:58:50 +0000
(14:58 +0000)
comedi/drivers/dt3000.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/dt3000.c
b/comedi/drivers/dt3000.c
index 7c403e45ed31b88136c020e290139435269b243a..ef131cc9d19d090b1688b7062eeefe2d899b57cd 100644
(file)
--- a/
comedi/drivers/dt3000.c
+++ b/
comedi/drivers/dt3000.c
@@
-919,7
+919,7
@@
static int dt_pci_probe(comedi_device * dev, int bus, int slot)
while ((pcidev = dt_pci_find_device(pcidev, &board)) != NULL) {
if ((bus == 0 && slot == 0) ||
(pcidev->bus->number == bus &&
- PCI_SLOT(pcidev->devfn
== slot)
)) {
+ PCI_SLOT(pcidev->devfn
) == slot
)) {
break;
}
}