projects
/
lincan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c20cb9
)
Corrected print of address in report of card presence check failure.
author
ppisa
<ppisa>
Sun, 9 Nov 2008 00:06:57 +0000
(
00:06
+0000)
committer
ppisa
<ppisa>
Sun, 9 Nov 2008 00:06:57 +0000
(
00:06
+0000)
lincan/src/tscan1.c
patch
|
blob
|
history
diff --git
a/lincan/src/tscan1.c
b/lincan/src/tscan1.c
index
dab8584
..
5f7ca7a
100644
(file)
--- a/
lincan/src/tscan1.c
+++ b/
lincan/src/tscan1.c
@@
-284,7
+284,8
@@
int tscan1_init_hw_data(struct candevice_t *candev)
remap_io_addr = io_addr + tsxxx_base;
if(tscan1_check_presence(remap_io_addr, &jmp)){
remap_io_addr = io_addr + tsxxx_base;
if(tscan1_check_presence(remap_io_addr, &jmp)){
- CANMSG("No TSCAN1 card found at address 0xlx\n");
+ CANMSG("No TSCAN1 card found at address 0x%lx\n",
+ remap_io_addr);
return -ENODEV;
}
} else {
return -ENODEV;
}
} else {
@@
-371,7
+372,8
@@
int ts7kv_init_hw_data(struct candevice_t *candev)
remap_io_addr = io_addr + tsxxx_base;
if(ts7kv_check_presence(remap_io_addr, &jmp)){
remap_io_addr = io_addr + tsxxx_base;
if(ts7kv_check_presence(remap_io_addr, &jmp)){
- CANMSG("No TS7KV card found at address 0xlx\n");
+ CANMSG("No TS7KV card found at address 0x%lx\n",
+ remap_io_addr);
return -ENODEV;
}
} else {
return -ENODEV;
}
} else {