summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2009-04-07 18:23:37 +0000
committermsaitoh <msaitoh@NetBSD.org>2009-04-07 18:23:37 +0000
commitc52bc69c8983be79a54df81517da3ec457700f8f (patch)
tree0f883c24bb031718f06c829cf01d19c4f6ae77be /sys/dev
parent0855c70d27a340945e7d9f6122030d3c83688694 (diff)
Fix about TBI mode. This fix doesn't influence MII mode.
- Fix SWDPIN(1)'s polarity on some chips. - Fix flow control stuff (includes PR#32009). - Stop RXCFG storm. It ocours easily. - And more fix about autonego. Tested on PRO/1000F, PRO/1000XF and PRO/1000 MF.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_wmreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_wmreg.h b/sys/dev/pci/if_wmreg.h
index 32d9727fd28..1872dafaf16 100644
--- a/sys/dev/pci/if_wmreg.h
+++ b/sys/dev/pci/if_wmreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wmreg.h,v 1.26 2009/03/20 07:29:15 msaitoh Exp $ */
+/* $NetBSD: if_wmreg.h,v 1.27 2009/04/07 18:23:37 msaitoh Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -482,6 +482,8 @@ struct livengood_tcpip_ctxdesc {
#define WMREG_TXCW 0x0178 /* Transmit Configuration Word (TBI mode) */
/* See MII ANAR_X bits. */
+#define TXCW_SYM_PAUSE (1U << 7) /* sym pause request */
+#define TXCW_ASYM_PAUSE (1U << 8) /* asym pause request */
#define TXCW_TxConfig (1U << 30) /* Tx Config */
#define TXCW_ANE (1U << 31) /* Autonegotiate */