Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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 PCIe FMC carrier SPEC - Software
Commits
374e5f11
Commit
374e5f11
authored
Aug 02, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmc.h: added flags
parent
3fff8bb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
fmc.h
kernel/include/linux/fmc.h
+5
-0
No files found.
kernel/include/linux/fmc.h
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
)
{
...
...
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