Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple VME FMC Carrier SVEC - Software
Commits
c956d695
Commit
c956d695
authored
May 09, 2014
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/svec-drv.c: more self-explanatory error message if the bootloader is not found
parent
9f61c86c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
svec-drv.c
kernel/svec-drv.c
+4
-3
No files found.
kernel/svec-drv.c
View file @
c956d695
...
...
@@ -568,8 +568,6 @@ int svec_validate_configuration(struct device *pdev, struct svec_config *cfg)
start_masked
=
cfg
->
vme_base
&
~
(
cfg
->
vme_size
-
1
);
end_masked
=
(
cfg
->
vme_base
+
cfg
->
vme_size
-
1
)
&
~
(
cfg
->
vme_size
-
1
);
printk
(
"start-m %x end-m %x
\n
"
,
start_masked
,
end_masked
);
if
(
cfg
->
vme_base
&
~
addr_mask
)
{
dev_err
(
pdev
,
"VME base address incorrectly aligned (mask = 0x%x)
\n
"
,
...
...
@@ -733,8 +731,11 @@ static int svec_probe(struct device *pdev, unsigned int ndev)
/* see if we are really talking to a SVEC */
if
(
svec_check_bootloader_present
(
svec
)
<
0
)
{
dev_err
(
pdev
,
"No bootloader found. Is there a SVEC card installed in slot %d?
\n
"
,
"ERROR: The SVEC expected in slot %d is not responding, "
"the mezzanines installed on it will not be visible in the"
"system. Please check if the card is correctly installed.
\n
"
,
svec
->
slot
);
error
=
-
ENODEV
;
goto
failed
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment