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
ae2e7939
Commit
ae2e7939
authored
Jul 07, 2014
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
header: use generic array allocation
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
bce46ab1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
svec.h
kernel/svec.h
+4
-2
No files found.
kernel/svec.h
View file @
ae2e7939
...
...
@@ -40,7 +40,8 @@
enum
svec_map_win
{
MAP_CR_CSR
=
0
,
/* CR/CSR */
MAP_REG
/* A32/A24/A16 space */
MAP_REG
,
/* A32/A24/A16 space */
__MAX_MAP
,
/* Maximum number of maps */
};
struct
svec_config
{
...
...
@@ -69,7 +70,8 @@ struct svec_dev {
char
name
[
16
];
char
driver
[
16
];
char
description
[
80
];
struct
vme_mapping
*
map
[
2
];
struct
vme_mapping
*
map
[
__MAX_MAP
];
struct
svec_config
cfg_cur
,
cfg_new
;
struct
fmc_device
*
fmcs
[
SVEC_N_SLOTS
];
...
...
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