Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c4a875e5
Commit
c4a875e5
authored
Jun 05, 2003
by
Scott Feldman
Committed by
Richard Henderson
Jun 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] 10GbE ethtool support
Add 10GbE support for ethtool.
parent
f86e71e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
include/linux/ethtool.h
include/linux/ethtool.h
+4
-1
No files found.
include/linux/ethtool.h
View file @
c4a875e5
...
@@ -299,6 +299,7 @@ struct ethtool_stats {
...
@@ -299,6 +299,7 @@ struct ethtool_stats {
#define SUPPORTED_MII (1 << 9)
#define SUPPORTED_MII (1 << 9)
#define SUPPORTED_FIBRE (1 << 10)
#define SUPPORTED_FIBRE (1 << 10)
#define SUPPORTED_BNC (1 << 11)
#define SUPPORTED_BNC (1 << 11)
#define SUPPORTED_10000baseT_Full (1 << 12)
/* Indicates what features are advertised by the interface. */
/* Indicates what features are advertised by the interface. */
#define ADVERTISED_10baseT_Half (1 << 0)
#define ADVERTISED_10baseT_Half (1 << 0)
...
@@ -313,6 +314,7 @@ struct ethtool_stats {
...
@@ -313,6 +314,7 @@ struct ethtool_stats {
#define ADVERTISED_MII (1 << 9)
#define ADVERTISED_MII (1 << 9)
#define ADVERTISED_FIBRE (1 << 10)
#define ADVERTISED_FIBRE (1 << 10)
#define ADVERTISED_BNC (1 << 11)
#define ADVERTISED_BNC (1 << 11)
#define ADVERTISED_10000baseT_Full (1 << 12)
/* The following are all involved in forcing a particular link
/* The following are all involved in forcing a particular link
* mode for the device for setting things. When getting the
* mode for the device for setting things. When getting the
...
@@ -320,10 +322,11 @@ struct ethtool_stats {
...
@@ -320,10 +322,11 @@ struct ethtool_stats {
* it was foced up into this mode or autonegotiated.
* it was foced up into this mode or autonegotiated.
*/
*/
/* The forced speed, 10Mb, 100Mb, gigabit. */
/* The forced speed, 10Mb, 100Mb, gigabit
, 10GbE
. */
#define SPEED_10 10
#define SPEED_10 10
#define SPEED_100 100
#define SPEED_100 100
#define SPEED_1000 1000
#define SPEED_1000 1000
#define SPEED_10000 10000
/* Duplex, half or full. */
/* Duplex, half or full. */
#define DUPLEX_HALF 0x00
#define DUPLEX_HALF 0x00
...
...
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