Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Simple PCIe FMC carrier SPEC - Software
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Simple PCIe FMC carrier SPEC - Software
Commits
fba878ca
Commit
fba878ca
authored
12 years ago
by
Alessandro Rubini
Browse files
Options
Downloads
Patches
Plain Diff
fmc ops: fixed a prototype
parent
7f6160f0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/fmc-bus.in
+1
-1
1 addition, 1 deletion
doc/fmc-bus.in
kernel/include/linux/fmc.h
+1
-1
1 addition, 1 deletion
kernel/include/linux/fmc.h
with
2 additions
and
2 deletions
doc/fmc-bus.in
+
1
−
1
View file @
fba878ca
...
...
@@ -183,7 +183,7 @@ this document):
@smallexample
struct fmc
_
operations
{
uint32
_
t (*readl)(struct fmc
_
device *fmc, int offset);
void (*writel)(struct fmc
_
device *fmc,
int offset,
uint32
_
t value);
void (*writel)(struct fmc
_
device *fmc, uint32
_
t value
, int offset
);
int (*reprogram)(struct fmc
_
device *fmc, void *data, int len);
int (*irq
_
request)(struct fmc
_
device *fmc, irq
_
handler
_
t h,
char *name, int flags);
...
...
This diff is collapsed.
Click to expand it.
kernel/include/linux/fmc.h
+
1
−
1
View file @
fba878ca
...
...
@@ -34,7 +34,7 @@ struct fmc_driver {
/* To be carrier-independent, we need to abstract hardware access */
struct
fmc_operations
{
uint32_t
(
*
readl
)(
struct
fmc_device
*
fmc
,
int
offset
);
void
(
*
writel
)(
struct
fmc_device
*
fmc
,
int
offset
,
uint32_t
value
);
void
(
*
writel
)(
struct
fmc_device
*
fmc
,
uint32_t
value
,
int
offset
);
int
(
*
reprogram
)(
struct
fmc_device
*
fmc
,
void
*
data
,
int
len
);
int
(
*
irq_request
)(
struct
fmc_device
*
fmc
,
irq_handler_t
h
,
char
*
name
,
int
flags
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment