summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/pchb.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-06-24 00:06:58 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-06-24 00:06:58 +0000
commitded2c74f68121bbf0a8de44283bf76e97e507efb (patch)
tree0dd682cba0115cd88591b82355f251552a4c414d /sys/arch/i386/pci/pchb.c
parent288c486de3f6be0db40a265fe43f75eef0cb3075 (diff)
The new AMD Opteron CPUs have up to 4 HyperTransport links instead of 3.
ok dlg@
Diffstat (limited to 'sys/arch/i386/pci/pchb.c')
-rw-r--r--sys/arch/i386/pci/pchb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pchb.c b/sys/arch/i386/pci/pchb.c
index fd2ab63920d..c2839350918 100644
--- a/sys/arch/i386/pci/pchb.c
+++ b/sys/arch/i386/pci/pchb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pchb.c,v 1.81 2010/04/02 19:23:05 kettenis Exp $ */
+/* $OpenBSD: pchb.c,v 1.82 2010/06/24 00:06:57 kettenis Exp $ */
/* $NetBSD: pchb.c,v 1.65 2007/08/15 02:26:13 markd Exp $ */
/*
@@ -102,8 +102,10 @@
#define AMD64HT_LDT1_TYPE 0xb8
#define AMD64HT_LDT2_BUS 0xd4
#define AMD64HT_LDT2_TYPE 0xd8
+#define AMD64HT_LDT3_BUS 0xf4
+#define AMD64HT_LDT3_TYPE 0xf8
-#define AMD64HT_NUM_LDT 3
+#define AMD64HT_NUM_LDT 4
#define AMD64HT_LDT_TYPE_MASK 0x0000001f
#define AMD64HT_LDT_INIT_COMPLETE 0x00000002