From 3181fc04cb71f81d4a38726a9fb70d71d0bde8ea Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 18 Dec 2007 22:56:46 +0000 Subject: Remove bogus #ifdef __i386__, such that we properly initialize the bus number for pci busses off secundary CPUs. --- sys/arch/i386/pci/pchb.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/arch/i386') diff --git a/sys/arch/i386/pci/pchb.c b/sys/arch/i386/pci/pchb.c index cd3a805c903..6f9c44ccec1 100644 --- a/sys/arch/i386/pci/pchb.c +++ b/sys/arch/i386/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.64 2007/12/01 15:16:45 deraadt Exp $ */ +/* $OpenBSD: pchb.c,v 1.65 2007/12/18 22:56:45 kettenis Exp $ */ /* $NetBSD: pchb.c,v 1.65 2007/08/15 02:26:13 markd Exp $ */ /* @@ -493,11 +493,8 @@ pchb_amd64ht_attach(struct device *self, struct pci_attach_args *pa, int i) pba.pba_iot = pa->pa_iot; pba.pba_memt = pa->pa_memt; pba.pba_dmat = pa->pa_dmat; -#ifdef __i386__ pba.pba_domain = pa->pa_domain; -#else pba.pba_bus = AMD64HT_LDT_SEC_BUS_NUM(bus); -#endif pba.pba_bridgetag = NULL; pba.pba_pc = pa->pa_pc; config_found(self, &pba, pchb_print); -- cgit v1.2.3