Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit Switch - Software
Commits
e652f6de
Commit
e652f6de
authored
Apr 23, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/libswitchhw: change mini-backplane LED order so the dim activity LED is clearly visible
parent
26cac626
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
i2c_sfp.c
userspace/libswitchhw/i2c_sfp.c
+4
-3
No files found.
userspace/libswitchhw/i2c_sfp.c
View file @
e652f6de
...
...
@@ -44,9 +44,10 @@
#define WR_SFP16_BUS 16
#define WR_SFP17_BUS 17
#define SFP_LED_LINK_MASK(t) ((t) ? (1 << 6) : (1 << 0))
#define SFP_LED_WRMODE_MASK(t) ((t) ? (1 << 4) : (1 << 1))
#define SFP_LED_SYNCED_MASK(t) ((t) ? (1 << 5) : (1 << 3))
#define SFP_LED_SYNCED_MASK(t) ((t) ? (1 << 6) : (1 << 0))
#define SFP_LED_LINK_MASK(t) ((t) ? (1 << 4) : (1 << 1))
#define SFP_LED_WRMODE_MASK(t) ((t) ? (1 << 5) : (1 << 3))
#define SFP_TX_DISABLE_MASK(t) ((t) ? (1 << 7) : (1 << 2))
/*
...
...
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