summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xlreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1998-10-22 15:52:25 +0000
committerwpaul <wpaul@FreeBSD.org>1998-10-22 15:52:25 +0000
commit5889df5c8ef80891d33eca9ebca957b3c5b91325 (patch)
tree868b0da24597796826f7966c4d8ebb5c5f53461e /sys/pci/if_xlreg.h
parentd58c79316c2f17521c70652e7120398092065b9f (diff)
downloadFreeBSD-src-5889df5c8ef80891d33eca9ebca957b3c5b91325.zip
FreeBSD-src-5889df5c8ef80891d33eca9ebca957b3c5b91325.tar.gz
Close PR #8384:
Revert the transmission packet queueing strategy changes. Clearly I missed something while debugging this, although I never encountered any problems on my test machines. Also make one other minor change: jack up the TX reclaim threshold for 3c90xB adapters in order to stave off 'transmission error: 82' errors. Document the existence of the tx reclaim register (for inspecting the current reclaim threshold) in register window 5 (if_xlreg.h).
Diffstat (limited to 'sys/pci/if_xlreg.h')
-rw-r--r--sys/pci/if_xlreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h
index 3d56b39..c45914f 100644
--- a/sys/pci/if_xlreg.h
+++ b/sys/pci/if_xlreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_xlreg.h,v 1.6 1998/10/09 03:59:24 wpaul Exp $
+ * $Id: if_xlreg.h,v 1.19 1998/10/22 15:35:06 wpaul Exp $
*/
#define XL_EE_READ 0x0080 /* read, 5 bit address */
@@ -361,6 +361,7 @@
*/
#define XL_W5_STAT_ENB 0x0C
#define XL_W5_INTR_ENB 0x0A
+#define XL_W5_RECLAIM_THRESH 0x09 /* 3c905B only */
#define XL_W5_RX_FILTER 0x08
#define XL_W5_RX_EARLYTHRESH 0x06
#define XL_W5_TX_AVAILTHRESH 0x02
@@ -554,7 +555,6 @@ struct xl_softc {
u_int8_t xl_want_auto;
u_int8_t xl_autoneg;
u_int8_t xl_stats_no_timeout;
- u_int8_t xl_txeoc;
caddr_t xl_ldata_ptr;
struct xl_list_data *xl_ldata;
struct xl_chain_data xl_cdata;
OpenPOWER on IntegriCloud