@@ -586,29 +586,29 @@ struct ethtool_ops {
586
586
#define ETHTOOL_GREGS 0x00000004 /* Get NIC registers. */
587
587
#define ETHTOOL_GWOL 0x00000005 /* Get wake-on-lan options. */
588
588
#define ETHTOOL_SWOL 0x00000006 /* Set wake-on-lan options. */
589
- #define ETHTOOL_GMSGLVL 0x00000007 /* Get driver message level */
590
- #define ETHTOOL_SMSGLVL 0x00000008 /* Set driver msg level. */
589
+ #define ETHTOOL_GMSGLVL 0x00000007 /* Get driver message level */
590
+ #define ETHTOOL_SMSGLVL 0x00000008 /* Set driver msg level. */
591
591
#define ETHTOOL_NWAY_RST 0x00000009 /* Restart autonegotiation. */
592
592
#define ETHTOOL_GLINK 0x0000000a /* Get link status (ethtool_value) */
593
- #define ETHTOOL_GEEPROM 0x0000000b /* Get EEPROM data */
594
- #define ETHTOOL_SEEPROM 0x0000000c /* Set EEPROM data. */
593
+ #define ETHTOOL_GEEPROM 0x0000000b /* Get EEPROM data */
594
+ #define ETHTOOL_SEEPROM 0x0000000c /* Set EEPROM data. */
595
595
#define ETHTOOL_GCOALESCE 0x0000000e /* Get coalesce config */
596
596
#define ETHTOOL_SCOALESCE 0x0000000f /* Set coalesce config. */
597
597
#define ETHTOOL_GRINGPARAM 0x00000010 /* Get ring parameters */
598
598
#define ETHTOOL_SRINGPARAM 0x00000011 /* Set ring parameters. */
599
599
#define ETHTOOL_GPAUSEPARAM 0x00000012 /* Get pause parameters */
600
600
#define ETHTOOL_SPAUSEPARAM 0x00000013 /* Set pause parameters. */
601
- #define ETHTOOL_GRXCSUM 0x00000014 /* Get RX hw csum enable (ethtool_value) */
602
- #define ETHTOOL_SRXCSUM 0x00000015 /* Set RX hw csum enable (ethtool_value) */
603
- #define ETHTOOL_GTXCSUM 0x00000016 /* Get TX hw csum enable (ethtool_value) */
604
- #define ETHTOOL_STXCSUM 0x00000017 /* Set TX hw csum enable (ethtool_value) */
601
+ #define ETHTOOL_GRXCSUM 0x00000014 /* Get RX hw csum enable (ethtool_value) */
602
+ #define ETHTOOL_SRXCSUM 0x00000015 /* Set RX hw csum enable (ethtool_value) */
603
+ #define ETHTOOL_GTXCSUM 0x00000016 /* Get TX hw csum enable (ethtool_value) */
604
+ #define ETHTOOL_STXCSUM 0x00000017 /* Set TX hw csum enable (ethtool_value) */
605
605
#define ETHTOOL_GSG 0x00000018 /* Get scatter-gather enable
606
606
* (ethtool_value) */
607
607
#define ETHTOOL_SSG 0x00000019 /* Set scatter-gather enable
608
608
* (ethtool_value). */
609
609
#define ETHTOOL_TEST 0x0000001a /* execute NIC self-test. */
610
610
#define ETHTOOL_GSTRINGS 0x0000001b /* get specified string set */
611
- #define ETHTOOL_PHYS_ID 0x0000001c /* identify the NIC */
611
+ #define ETHTOOL_PHYS_ID 0x0000001c /* identify the NIC */
612
612
#define ETHTOOL_GSTATS 0x0000001d /* get NIC-specific statistics */
613
613
#define ETHTOOL_GTSO 0x0000001e /* Get TSO enable (ethtool_value) */
614
614
#define ETHTOOL_STSO 0x0000001f /* Set TSO enable (ethtool_value) */
@@ -619,8 +619,8 @@ struct ethtool_ops {
619
619
#define ETHTOOL_SGSO 0x00000024 /* Set GSO enable (ethtool_value) */
620
620
#define ETHTOOL_GFLAGS 0x00000025 /* Get flags bitmap(ethtool_value) */
621
621
#define ETHTOOL_SFLAGS 0x00000026 /* Set flags bitmap(ethtool_value) */
622
- #define ETHTOOL_GPFLAGS 0x00000027 /* Get driver-private flags bitmap */
623
- #define ETHTOOL_SPFLAGS 0x00000028 /* Set driver-private flags bitmap */
622
+ #define ETHTOOL_GPFLAGS 0x00000027 /* Get driver-private flags bitmap */
623
+ #define ETHTOOL_SPFLAGS 0x00000028 /* Set driver-private flags bitmap */
624
624
625
625
#define ETHTOOL_GRXFH 0x00000029 /* Get RX flow hash configuration */
626
626
#define ETHTOOL_SRXFH 0x0000002a /* Set RX flow hash configuration */
@@ -645,18 +645,18 @@ struct ethtool_ops {
645
645
/* Indicates what features are supported by the interface. */
646
646
#define SUPPORTED_10baseT_Half (1 << 0)
647
647
#define SUPPORTED_10baseT_Full (1 << 1)
648
- #define SUPPORTED_100baseT_Half (1 << 2)
649
- #define SUPPORTED_100baseT_Full (1 << 3)
648
+ #define SUPPORTED_100baseT_Half (1 << 2)
649
+ #define SUPPORTED_100baseT_Full (1 << 3)
650
650
#define SUPPORTED_1000baseT_Half (1 << 4)
651
651
#define SUPPORTED_1000baseT_Full (1 << 5)
652
652
#define SUPPORTED_Autoneg (1 << 6)
653
653
#define SUPPORTED_TP (1 << 7)
654
654
#define SUPPORTED_AUI (1 << 8)
655
655
#define SUPPORTED_MII (1 << 9)
656
- #define SUPPORTED_FIBRE (1 << 10)
656
+ #define SUPPORTED_FIBRE (1 << 10)
657
657
#define SUPPORTED_BNC (1 << 11)
658
658
#define SUPPORTED_10000baseT_Full (1 << 12)
659
- #define SUPPORTED_Pause (1 << 13)
659
+ #define SUPPORTED_Pause (1 << 13)
660
660
#define SUPPORTED_Asym_Pause (1 << 14)
661
661
#define SUPPORTED_2500baseX_Full (1 << 15)
662
662
#define SUPPORTED_Backplane (1 << 16)
@@ -666,8 +666,8 @@ struct ethtool_ops {
666
666
#define SUPPORTED_10000baseR_FEC (1 << 20)
667
667
668
668
/* Indicates what features are advertised by the interface. */
669
- #define ADVERTISED_10baseT_Half (1 << 0)
670
- #define ADVERTISED_10baseT_Full (1 << 1)
669
+ #define ADVERTISED_10baseT_Half (1 << 0)
670
+ #define ADVERTISED_10baseT_Full (1 << 1)
671
671
#define ADVERTISED_100baseT_Half (1 << 2)
672
672
#define ADVERTISED_100baseT_Full (1 << 3)
673
673
#define ADVERTISED_1000baseT_Half (1 << 4)
@@ -706,12 +706,12 @@ struct ethtool_ops {
706
706
#define DUPLEX_FULL 0x01
707
707
708
708
/* Which connector port. */
709
- #define PORT_TP 0x00
709
+ #define PORT_TP 0x00
710
710
#define PORT_AUI 0x01
711
711
#define PORT_MII 0x02
712
712
#define PORT_FIBRE 0x03
713
713
#define PORT_BNC 0x04
714
- #define PORT_DA 0x05
714
+ #define PORT_DA 0x05
715
715
#define PORT_NONE 0xef
716
716
#define PORT_OTHER 0xff
717
717
@@ -725,7 +725,7 @@ struct ethtool_ops {
725
725
/* Enable or disable autonegotiation. If this is set to enable,
726
726
* the forced link modes above are completely ignored.
727
727
*/
728
- #define AUTONEG_DISABLE 0x00
728
+ #define AUTONEG_DISABLE 0x00
729
729
#define AUTONEG_ENABLE 0x01
730
730
731
731
/* Mode MDI or MDI-X */
0 commit comments