Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/pci Add support for auxillary busses on the In...
details: https://anonhg.NetBSD.org/src/rev/c8f50dbadfce
branches: trunk
changeset: 533113:c8f50dbadfce
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Jun 21 16:03:33 2002 +0000
description:
Add support for auxillary busses on the Intel 82452 PCI-Host
bridge. PR 17353, from MOCHIDA Shuji.
diffstat:
sys/arch/i386/pci/pchb.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 3d845713e2a3 -r c8f50dbadfce sys/arch/i386/pci/pchb.c
--- a/sys/arch/i386/pci/pchb.c Fri Jun 21 15:56:44 2002 +0000
+++ b/sys/arch/i386/pci/pchb.c Fri Jun 21 16:03:33 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pchb.c,v 1.33 2002/05/16 01:01:37 thorpej Exp $ */
+/* $NetBSD: pchb.c,v 1.34 2002/06/21 16:03:33 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1998, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.33 2002/05/16 01:01:37 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.34 2002/06/21 16:03:33 thorpej Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -156,6 +156,14 @@
case PCI_VENDOR_INTEL:
switch (PCI_PRODUCT(pa->pa_id)) {
+ case PCI_PRODUCT_INTEL_82452_PB:
+ bcreg = pci_conf_read(pa->pa_pc, pa->pa_tag, 0x40);
+ pbnum = PCISET_BRIDGE_NUMBER(bcreg);
+ if (pbnum != 0xff) {
+ pbnum++;
+ doattach = 1;
+ }
+ break;
case PCI_PRODUCT_INTEL_82443BX_AGP:
case PCI_PRODUCT_INTEL_82443BX_NOAGP:
/*
Home |
Main Index |
Thread Index |
Old Index