commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10748 - gnuradio/trunk/usrp2/firmware/lib


From: matt
Subject: [Commit-gnuradio] r10748 - gnuradio/trunk/usrp2/firmware/lib
Date: Thu, 2 Apr 2009 15:30:48 -0600 (MDT)

Author: matt
Date: 2009-04-02 15:30:48 -0600 (Thu, 02 Apr 2009)
New Revision: 10748

Modified:
   gnuradio/trunk/usrp2/firmware/lib/eth_mac.c
   gnuradio/trunk/usrp2/firmware/lib/eth_mac_regs.h
Log:
new regs for re-pause fix


Modified: gnuradio/trunk/usrp2/firmware/lib/eth_mac.c
===================================================================
--- gnuradio/trunk/usrp2/firmware/lib/eth_mac.c 2009-04-02 21:19:56 UTC (rev 
10747)
+++ gnuradio/trunk/usrp2/firmware/lib/eth_mac.c 2009-04-02 21:30:48 UTC (rev 
10748)
@@ -69,6 +69,8 @@
 
   eth_mac->fc_lwmark = 600;            // there are currently 2047 lines in 
the fifo
   eth_mac->fc_hwmark = 1200;
+  eth_mac->fc_padtime = 1700;           // how long before flow control runs 
out do we 
+                                        // request a re-pause.  Units of 8ns 
(bytes)
 
   //eth_mac->tx_pause_en = 0;          // pay attn to pause frames sent to us
   //eth_mac->pause_quanta_set = 38;    // a bit more than 1 max frame 16kb/512 
+ fudge

Modified: gnuradio/trunk/usrp2/firmware/lib/eth_mac_regs.h
===================================================================
--- gnuradio/trunk/usrp2/firmware/lib/eth_mac_regs.h    2009-04-02 21:19:56 UTC 
(rev 10747)
+++ gnuradio/trunk/usrp2/firmware/lib/eth_mac_regs.h    2009-04-02 21:30:48 UTC 
(rev 10748)
@@ -81,6 +81,7 @@
   volatile int miitx_data;
   volatile int miirx_data;
   volatile int miistatus;
+  volatile int fc_padtime;
 } eth_mac_regs_t;
 
 // miicommand register





reply via email to

[Prev in Thread] Current Thread [Next in Thread]