Deleted Added
sdiff udiff text old ( 154079 ) new ( 157949 )
full compact
1/*-
2 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier
3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000 BSDi
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 15 unchanged lines hidden (view full) ---

24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sys/dev/pci/pci_pci.c 154079 2006-01-06 19:22:19Z jhb $");
33
34/*
35 * PCI:PCI bridge support.
36 */
37
38#include <sys/param.h>
39#include <sys/systm.h>
40#include <sys/kernel.h>

--- 141 unchanged lines hidden (view full) ---

182 sc->flags |= PCIB_SUBTRACTIVE;
183 break;
184
185 /* Compaq R3000 BIOS sets wrong subordinate bus number. */
186 case 0x00dd10de:
187 {
188 char *cp;
189
190 cp = getenv("smbios.planar.maker");
191 if (cp == NULL || strncmp(cp, "Compal", 6) != 0)
192 break;
193 cp = getenv("smbios.planar.product");
194 if (cp == NULL || strncmp(cp, "08A0", 4) != 0)
195 break;
196 if (sc->subbus < 0xa) {
197 pci_write_config(dev, PCIR_SUBBUS_1, 0xa, 1);
198 sc->subbus = pci_read_config(dev, PCIR_SUBBUS_1, 1);
199 }
200 break;
201 }
202 }
203

--- 403 unchanged lines hidden ---