projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce105a0
)
ethtool: Add port type PORT_OTHER
author
Ben Hutchings
<
[email protected]
>
Wed, 29 Apr 2009 08:02:59 +0000
(08:02 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 30 Apr 2009 00:32:27 +0000
(17:32 -0700)
Add a PORT_OTHER to represent all other physical port types. Current
NICs generally do not allow switching between multiple port types in
software so specific types should not be needed.
Signed-off-by: Ben Hutchings <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
include/linux/ethtool.h
patch
|
blob
|
history
diff --git
a/include/linux/ethtool.h
b/include/linux/ethtool.h
index 131b127b70f8a1fb07ffa0e2a4aaba2166f12f78..5ccb6bd660c7840a1dcfd3974254277bca1cfae4 100644
(file)
--- a/
include/linux/ethtool.h
+++ b/
include/linux/ethtool.h
@@
-605,6
+605,7
@@
struct ethtool_ops {
#define PORT_MII 0x02
#define PORT_FIBRE 0x03
#define PORT_BNC 0x04
+#define PORT_OTHER 0xff
/* Which transceiver to use. */
#define XCVR_INTERNAL 0x00