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
63c14dd6
Commit
63c14dd6
authored
Feb 07, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr_nic: NR_WNDPOINTS depends on node or switch
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
1dd68564
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
nic-hardware.h
kernel/wr_nic/nic-hardware.h
+6
-2
No files found.
kernel/wr_nic/nic-hardware.h
View file @
63c14dd6
...
@@ -80,14 +80,18 @@ enum fpga_blocks {
...
@@ -80,14 +80,18 @@ enum fpga_blocks {
};
};
/* In addition to the above enumeration, we scan for those many endpoints */
/* In addition to the above enumeration, we scan for those many endpoints */
#define WRN_NR_ENDPOINTS 1
#if WR_IS_NODE
# define WRN_NR_ENDPOINTS 1
#else
# define WRN_NR_ENDPOINTS 18
#endif
/* 8 tx and 8 rx descriptors */
/* 8 tx and 8 rx descriptors */
#define WRN_NR_DESC 8
#define WRN_NR_DESC 8
#define WRN_NR_TXDESC WRN_NR_DESC
#define WRN_NR_TXDESC WRN_NR_DESC
#define WRN_NR_RXDESC WRN_NR_DESC
#define WRN_NR_RXDESC WRN_NR_DESC
/* Magic number for endpoint
(missing, I fear)
*/
/* Magic number for endpoint */
#define WRN_EP_MAGIC 0xcafebabe
#define WRN_EP_MAGIC 0xcafebabe
/*
/*
...
...
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