Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC Bus
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
FMC Bus
Commits
e8bbbf6c
Commit
e8bbbf6c
authored
Sep 06, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmc: added mezzanine_data field
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
28219c51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
fmc-bus.in
doc/fmc-bus.in
+3
-2
fmc.h
kernel/include/linux/fmc.h
+1
-0
No files found.
doc/fmc-bus.in
View file @
e8bbbf6c
...
@@ -128,8 +128,9 @@ struct fmc_device {
...
@@ -128,8 +128,9 @@ struct fmc_device {
void *carrier
_
data; /* "struct spec *" or equivalent */
void *carrier
_
data; /* "struct spec *" or equivalent */
__
iomem void *base; /* May be NULL (Etherbone) */
__
iomem void *base; /* May be NULL (Etherbone) */
struct device dev; /* For Linux use */
struct device dev; /* For Linux use */
struct device *hwdev; /* The underlying hardware device */
struct device *hwdev; /* The underlying hardware device */
struct sdb
_
array *sdb;
struct sdb
_
array *sdb;
void *mezzanine
_
data;
}
;
}
;
@end smallexample
@end smallexample
...
...
kernel/include/linux/fmc.h
View file @
e8bbbf6c
...
@@ -73,6 +73,7 @@ struct fmc_device {
...
@@ -73,6 +73,7 @@ struct fmc_device {
struct
device
dev
;
/* For Linux use */
struct
device
dev
;
/* For Linux use */
struct
device
*
hwdev
;
/* The underlying hardware device */
struct
device
*
hwdev
;
/* The underlying hardware device */
struct
sdb_array
*
sdb
;
struct
sdb_array
*
sdb
;
void
*
mezzanine_data
;
};
};
#define to_fmc_device(x) container_of((x), struct fmc_device, dev)
#define to_fmc_device(x) container_of((x), struct fmc_device, dev)
...
...
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