summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-07-02 05:38:29 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-07-02 05:38:29 +0000
commita030f45102fe62ca460ad11b7ce325585dff7501 (patch)
treea9c4a66470610b86179354de459c1f55281f8717 /sys
parent5431f60bd6a6617c90c92a13a3ff101f7e8f0b02 (diff)
Add TBI_EN config bit. Also add GPIOR location in EEPROM
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_ngereg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_ngereg.h b/sys/dev/pci/if_ngereg.h
index 7a7377f554b..65146807953 100644
--- a/sys/dev/pci/if_ngereg.h
+++ b/sys/dev/pci/if_ngereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ngereg.h,v 1.1 2001/06/08 02:26:13 nate Exp $ */
+/* $OpenBSD: if_ngereg.h,v 1.2 2001/07/02 05:38:28 nate Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -129,6 +129,7 @@
#define NGE_CFG_PHYINTR_LNK 0x00080000
#define NGE_CFG_PHYINTR_DUP 0x00100000
#define NGE_CFG_MODE_1000 0x00400000
+#define NGE_CFG_TBI_EN 0x01000000
#define NGE_CFG_DUPLEX_STS 0x10000000
#define NGE_CFG_SPEED_STS 0x60000000
#define NGE_CFG_LINK_STS 0x80000000
@@ -147,6 +148,7 @@
#define NGE_EECMD_ERASE 0x1c0
#define NGE_EE_NODEADDR 0xA
+#define NGE_EE_GPIOR 0x4
/* PCI control register */
#define NGE_PCICTL_SRAMADDR 0x0000001F