gianfar: Add flow control support
[deliverable/linux.git] / drivers / net / ethernet / freescale / gianfar.h
index ee19f2c138a60ae82003bcda1cfdae1695ca7b91..46f56f36118f8c34e8fa818dc27e0906c386dfcc 100644 (file)
@@ -146,6 +146,10 @@ extern const char gfar_driver_version[];
                | SUPPORTED_Autoneg \
                | SUPPORTED_MII)
 
+#define GFAR_SUPPORTED_GBIT (SUPPORTED_1000baseT_Full \
+               | SUPPORTED_Pause \
+               | SUPPORTED_Asym_Pause)
+
 /* TBI register addresses */
 #define MII_TBICON             0x11
 
@@ -1100,7 +1104,11 @@ struct gfar_private {
                /* Wake-on-LAN enabled */
                wol_en:1,
                /* Enable priorty based Tx scheduling in Hw */
-               prio_sched_en:1;
+               prio_sched_en:1,
+               /* Flow control flags */
+               pause_aneg_en:1,
+               tx_pause_en:1,
+               rx_pause_en:1;
 
        /* The total tx and rx ring size for the enabled queues */
        unsigned int total_tx_ring_size;
This page took 0.028293 seconds and 5 git commands to generate.