Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spec-sw
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
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
This is an archived project. Repository and other project resources are read-only.
fmc-projects
spec
spec-sw
Commits
374e5f11
Commit
374e5f11
authored
12 years ago
by
Alessandro Rubini
Browse files
Options
Downloads
Patches
Plain Diff
fmc.h: added flags
parent
3fff8bb9
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kernel/include/linux/fmc.h
+5
-0
5 additions, 0 deletions
kernel/include/linux/fmc.h
with
5 additions
and
0 deletions
kernel/include/linux/fmc.h
+
5
−
0
View file @
374e5f11
...
...
@@ -60,6 +60,7 @@ struct fmc_operations {
/* The device reports all information needed to access hw */
struct
fmc_device
{
unsigned
long
flags
;
struct
fmc_device_id
id
;
/* for the match function */
struct
fmc_operations
*
op
;
/* carrier-provided */
int
irq
;
/* according to host bus. 0 == none */
...
...
@@ -74,6 +75,10 @@ struct fmc_device {
};
#define to_fmc_device(x) container_of((x), struct fmc_device, dev)
#define FMC_DEVICE_HAS_GOLDEN 1
#define FMC_DEVICE_HAS_CUSTOM 2
#define FMC_DEVICE_NO_MEZZANINE 4
/* If the carrier offers no readl/writel, use base address */
static
inline
uint32_t
fmc_readl
(
struct
fmc_device
*
fmc
,
int
offset
)
{
...
...
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