Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/dev/pci Pull up revision 1.11 (requested by thorpej...
details: https://anonhg.NetBSD.org/src/rev/90768814514b
branches: netbsd-1-6
changeset: 529231:90768814514b
user: tron <tron%NetBSD.org@localhost>
date: Fri Nov 01 18:20:32 2002 +0000
description:
Pull up revision 1.11 (requested by thorpej in ticket #411):
* Give symbolic names to the CFG bits in the EEPROM.
* Get CFG_M64ADDR, CFG_T64ADDR, and CFG_DATA64_EN from the EEPROM.
Note, we still disable CFG_M64ADDR and CFG_T64ADDR later (XXX need
PCI bus capability flags for these).
* Print a message if we're in a 64-bit slot and 64-bit data is
disabled in the EEPROM. Make sure CFG_DATA64_EN is disabled if
we're not in a 64-bit slot.
diffstat:
sys/dev/pci/if_sipreg.h | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r db5e1d4aedd4 -r 90768814514b sys/dev/pci/if_sipreg.h
--- a/sys/dev/pci/if_sipreg.h Fri Nov 01 18:20:17 2002 +0000
+++ b/sys/dev/pci/if_sipreg.h Fri Nov 01 18:20:32 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sipreg.h,v 1.10 2002/03/27 21:41:35 briggs Exp $ */
+/* $NetBSD: if_sipreg.h,v 1.10.4.1 2002/11/01 18:20:32 tron Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -745,6 +745,10 @@
#define SIP_DP83820_EEPROM_SUBSYSTEM_ID 0x00 /* PCI subsystem ID */
#define SIP_DP83820_EEPROM_SUBVENDOR_ID 0x02 /* PCI subvendor ID */
#define SIP_DP83820_EEPROM_CFGINT 0x04 /* PCI INT [31:16] */
+#define SIP_DP83820_EEPROM_CONFIG0 0x06 /* configuration word 0 */
+#define SIP_DP83820_EEPROM_CONFIG1 0x08 /* configuration word 1 */
+#define SIP_DP83820_EEPROM_CONFIG2 0x0a /* configuration word 2 */
+#define SIP_DP83820_EEPROM_CONFIG3 0x0c /* configuration word 3 */
#define SIP_DP83820_EEPROM_SOPAS0 0x0e /* SecureOn [47:32] */
#define SIP_DP83820_EEPROM_SOPAS1 0x10 /* SecureOn [31:16] */
#define SIP_DP83820_EEPROM_SOPAS2 0x12 /* SecureOn [15:0] */
@@ -754,4 +758,13 @@
#define SIP_DP83820_EEPROM_CHECKSUM 0x1a /* checksum */
#define SIP_DP83820_EEPROM_LENGTH 0x1c /* length of EEPROM data */
+#define DP83820_CONFIG2_CFG_EXT_125 (1U << 0)
+#define DP83820_CONFIG2_CFG_M64ADDR (1U << 1)
+#define DP83820_CONFIG2_CFG_DATA64_EN (1U << 2)
+#define DP83820_CONFIG2_CFG_T64ADDR (1U << 3)
+#define DP83820_CONFIG2_CFG_MWI_DIS (1U << 4)
+#define DP83820_CONFIG2_CFG_MRM_DIS (1U << 5)
+#define DP83820_CONFIG2_CFG_MODE_1000 (1U << 7)
+#define DP83820_CONFIG2_CFG_TBI_EN (1U << 9)
+
#endif /* _DEV_PCI_IF_SIPREG_H_ */
Home |
Main Index |
Thread Index |
Old Index