diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-12-18 22:56:46 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-12-18 22:56:46 +0000 |
commit | 3181fc04cb71f81d4a38726a9fb70d71d0bde8ea (patch) | |
tree | 52d55911a7d3e9625540facc771012fa19c0e640 /sys/arch/i386 | |
parent | 84403e7e90d319ecda83c2a7318e696f77f29113 (diff) |
Remove bogus #ifdef __i386__, such that we properly initialize the bus number
for pci busses off secundary CPUs.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/pci/pchb.c | 5 |
1 files changed, 1 insertions, 4 deletions
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); |