From 8aa6a723fbb32dd2093fd8971450744c0838ad8b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 11 Apr 2009 15:00:00 +0000 Subject: There is no support for building multi-socket machines in AMD Family 11h processors, so the registers to configure addition HyperTransport links are absent. Don't try attaching addition pci busses on these processors to avoid probing non-existant registers. --- sys/arch/amd64/pci/pchb.c | 3 +-- sys/arch/i386/pci/pchb.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/amd64/pci/pchb.c b/sys/arch/amd64/pci/pchb.c index 6497bf843b1..5e2f7b627be 100644 --- a/sys/arch/amd64/pci/pchb.c +++ b/sys/arch/amd64/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.28 2009/03/31 22:19:57 kettenis Exp $ */ +/* $OpenBSD: pchb.c,v 1.29 2009/04/11 14:59:59 kettenis Exp $ */ /* $NetBSD: pchb.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -150,7 +150,6 @@ pchbattach(struct device *parent, struct device *self, void *aux) switch (PCI_PRODUCT(pa->pa_id)) { case PCI_PRODUCT_AMD_AMD64_0F_HT: case PCI_PRODUCT_AMD_AMD64_10_HT: - case PCI_PRODUCT_AMD_AMD64_11_HT: for (i = 0; i < AMD64HT_NUM_LDT; i++) pchb_amd64ht_attach(self, pa, i); break; diff --git a/sys/arch/i386/pci/pchb.c b/sys/arch/i386/pci/pchb.c index 085dbc2ac8f..8b68557f586 100644 --- a/sys/arch/i386/pci/pchb.c +++ b/sys/arch/i386/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.76 2009/03/31 21:57:57 kettenis Exp $ */ +/* $OpenBSD: pchb.c,v 1.77 2009/04/11 14:59:59 kettenis Exp $ */ /* $NetBSD: pchb.c,v 1.65 2007/08/15 02:26:13 markd Exp $ */ /* @@ -180,7 +180,6 @@ pchbattach(struct device *parent, struct device *self, void *aux) switch (PCI_PRODUCT(pa->pa_id)) { case PCI_PRODUCT_AMD_AMD64_0F_HT: case PCI_PRODUCT_AMD_AMD64_10_HT: - case PCI_PRODUCT_AMD_AMD64_11_HT: for (i = 0; i < AMD64HT_NUM_LDT; i++) pchb_amd64ht_attach(self, pa, i); break; -- cgit v1.2.3