Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2010 15:59:41 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r216124 - in stable/7/sys: dev/pci i386/pci
Message-ID:  <201012021559.oB2FxfLX014959@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Thu Dec  2 15:59:41 2010
New Revision: 216124
URL: http://svn.freebsd.org/changeset/base/216124

Log:
  MFC 215820:
  Add device IDs for two more ServerWorks Host-PCI bridges so that we can
  read their starting PCI bus number for older systems that do not support
  ACPI (or have a broken _BBN method).
  
  Approved by:	re (kib)

Modified:
  stable/7/sys/dev/pci/pci_pci.c
  stable/7/sys/i386/pci/pci_bus.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/dev/pci/pci_pci.c
==============================================================================
--- stable/7/sys/dev/pci/pci_pci.c	Thu Dec  2 15:58:54 2010	(r216123)
+++ stable/7/sys/dev/pci/pci_pci.c	Thu Dec  2 15:59:41 2010	(r216124)
@@ -699,7 +699,9 @@ host_pcib_get_busno(pci_read_config_fn r
 	case 0x00171166:
 	case 0x01011166:
 	case 0x010f1014:
+	case 0x01101166:
 	case 0x02011166:
+	case 0x02251166:
 	case 0x03021014:
 		*busnum = read_config(bus, slot, func, 0x44, 1);
 		break;

Modified: stable/7/sys/i386/pci/pci_bus.c
==============================================================================
--- stable/7/sys/i386/pci/pci_bus.c	Thu Dec  2 15:58:54 2010	(r216123)
+++ stable/7/sys/i386/pci/pci_bus.c	Thu Dec  2 15:59:41 2010	(r216124)
@@ -204,6 +204,9 @@ legacy_pcib_is_host_bridge(int bus, int 
 			break;
 		}
 		break;
+	case 0x1A308086:
+		s = "Intel 82845 Host to PCI bridge";
+		break;
 
 		/* AMD -- vendor 0x1022 */
 	case 0x30001022:
@@ -304,6 +307,8 @@ legacy_pcib_is_host_bridge(int bus, int 
 	case 0x00171166:
 		/* FALLTHROUGH */
 	case 0x01011166:
+	case 0x01101166:
+	case 0x02251166:
 		s = "ServerWorks host to PCI bridge(unknown chipset)";
 		*busnum = legacy_pcib_read_config(0, bus, slot, func, 0x44, 1);
 		break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012021559.oB2FxfLX014959>