ar8216: display flow control info in swconfig get_link in case of autonegatiation too
[openwrt/openwrt.git] / target / linux / generic / files / drivers / net / phy / ar8327.h
index 1877f00c97912c57950d9ece6a1aa9b44b8f19e7..f0ef013cb65a43a1ba789ff52a2176fcacfce54e 100644 (file)
@@ -84,6 +84,8 @@
 #define   AR8327_MAX_FRAME_SIZE_MTU            BITS(0, 14)
 
 #define AR8327_REG_PORT_STATUS(_i)             (0x07c + (_i) * 4)
+#define   AR8327_PORT_STATUS_TXFLOW_AUTO       BIT(10)
+#define   AR8327_PORT_STATUS_RXFLOW_AUTO       BIT(11)
 
 #define AR8327_REG_HEADER_CTRL                 0x098
 #define AR8327_REG_PORT_HEADER(_i)             (0x09c + (_i) * 4)