VirtualBox

Ignore:
Timestamp:
Oct 13, 2015 4:45:15 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103377
Message:

VBoxNetAdp/linux: followup fix to r103374 - ethtool_cmd_speed_set()
made its debut in 2.6.27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c

    r58220 r58222  
    194194    cmd->supported      = 0;
    195195    cmd->advertising    = 0;
     196#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
    196197    ethtool_cmd_speed_set(cmd, SPEED_10);
     198#else
     199    cmd->speed          = SPEED_10;
     200#endif
    197201    cmd->duplex         = DUPLEX_FULL;
    198202    cmd->port           = PORT_TP;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette