Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 13:44:17 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/acpica acpi_pcib_acpi.c
Message-ID:  <200906091344.n59DiYdM093270@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2009-06-09 13:44:17 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_pcib_acpi.c 
  Log:
  SVN rev 193829 on 2009-06-09 13:44:17Z by jhb
  
  Rework the _BBN handling for Host-PCI bridges.  Previously we only trusted
  a _BBN value of 0 if it was for the first bridge encountered since some
  older systems returned _BBN of 0 for all bridges.  However, some newer
  systems enumerate bridges with non-zero _BBN before bus 0 which is
  perfectly valid.  Handle both cases by trusting the first bridge that has
  a _BBN of 0 and falling back to reading from non-standard config registers
  only for subsequent bridges with a _BBN of 0.  We also only perform this
  check for segment (domain) 0.  We assume that _BBN is always correct
  for segments other than 0.
  
  Tested by:      Josef Moellers  josef.moellers at fujitsu
  MFC after:      1 week
  
  Revision  Changes    Path
  1.58      +25 -18    src/sys/dev/acpica/acpi_pcib_acpi.c



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