summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_em_hw.h
diff options
context:
space:
mode:
authorwilliam <william@cvs.openbsd.org>2011-04-04 03:49:33 +0000
committerwilliam <william@cvs.openbsd.org>2011-04-04 03:49:33 +0000
commit6d64d358d68ddb10eae9d681971466c4782ef40b (patch)
tree4b44ad17c3b8db52a1edc92bf656b6540bc8d937 /sys/dev/pci/if_em_hw.h
parent852369d6a2aa06c036160f01c1f734516f6c90c5 (diff)
The backplane version of the 82575EB has no link state -- it's always
up. From FreeBSD. ok jsg claudio
Diffstat (limited to 'sys/dev/pci/if_em_hw.h')
-rw-r--r--sys/dev/pci/if_em_hw.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em_hw.h b/sys/dev/pci/if_em_hw.h
index e2770c0c3fa..345735366de 100644
--- a/sys/dev/pci/if_em_hw.h
+++ b/sys/dev/pci/if_em_hw.h
@@ -31,7 +31,7 @@
*******************************************************************************/
-/* $OpenBSD: if_em_hw.h,v 1.47 2011/02/06 23:47:14 dlg Exp $ */
+/* $OpenBSD: if_em_hw.h,v 1.48 2011/04/04 03:49:32 william Exp $ */
/* $FreeBSD: if_em_hw.h,v 1.15 2005/05/26 23:32:02 tackerman Exp $ */
/* if_em_hw.h
@@ -1579,6 +1579,10 @@ struct em_hw {
#define E1000_CONNSW_ENRGSRC 0x4
#define E1000_PCS_CFG_PCS_EN 8
+#define E1000_PCS_LCTL_FSV_1000 4
+#define E1000_PCS_LCTL_FDV_FULL 8
+#define E1000_PCS_LCTL_FSD 0x10
+#define E1000_PCS_LCTL_FORCE_FCTRL 0x80
#define E1000_PCS_LSTS_LINK_OK 0x01
#define E1000_PCS_LSTS_SPEED_100 0x02