projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f0c2e2
)
bitwise and should be logical and
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 17 Jun 2002 15:47:10 +0000
(15:47 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 17 Jun 2002 15:47:10 +0000
(15:47 +0000)
comedi/drivers/amcc_s5933.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/amcc_s5933.c
b/comedi/drivers/amcc_s5933.c
index 377679ccd6db2dab09374f28ebc5cf0745fef94c..234d7d64925869fa177f6221c6a699c08084f8f5 100644
(file)
--- a/
comedi/drivers/amcc_s5933.c
+++ b/
comedi/drivers/amcc_s5933.c
@@
-182,7
+182,7
@@
struct pcilst_struct *select_and_alloc_pci_card(unsigned short vendor_id, unsign
{
struct pcilst_struct *card;
- if ((pci_bus<1)&(pci_slot<1)) { // use autodetection
+ if ((pci_bus<1)&
&
(pci_slot<1)) { // use autodetection
if ((card=find_free_pci_card_by_device(vendor_id,device_id))==NULL) {
rt_printk(" - Unused card not found in system!\n");
return NULL;