net: Move flow control definitions to mii.h
[firefly-linux-kernel-4.4.55.git] / include / linux / mii.h
index 151b7e0182c7e6dcce9574a0b3f60dc96a544016..4a376e0816fde575774e66f5ffe7ce9a16bc045f 100644 (file)
 #define LPA_1000FULL            0x0800  /* Link partner 1000BASE-T full duplex */
 #define LPA_1000HALF            0x0400  /* Link partner 1000BASE-T half duplex */
 
+/* Flow control flags */
+#define FLOW_CTRL_TX           0x01
+#define FLOW_CTRL_RX           0x02
+
 /* This structure is used in all SIOCxMIIxxx ioctl calls */
 struct mii_ioctl_data {
        __u16           phy_id;