Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2009 19:06:39 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/pci pci.c src/sys/sparc64/include param.h
Message-ID:  <200907211907.n6LJ7G1C085384@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2009-07-21 19:06:39 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci.c 
    sys/sparc64/include  param.h 
  Log:
  SVN rev 195808 on 2009-07-21 19:06:39Z by marius
  
  Add a MD __PCI_BAR_ZERO_VALID which denotes that BARs containing 0
  actually specify valid bases that should be treated just as normal.
  The PCI specifications have no indication that 0 would be a magic value
  indicating a disabled BAR as commonly used on at least amd64 and i386
  but not sparc64. It's unclear what to do in pci_delete_resource()
  instead of writing 0 to a BAR though as there's no (other) way do
  disable individual BARs so its decoding is left enabled in case of
  __PCI_BAR_ZERO_VALID for now.
  
  Approved by:    re (kib), jhb
  MFC after:      1 week
  
  Revision  Changes    Path
  1.386     +15 -8     src/sys/dev/pci/pci.c
  1.28      +2 -0      src/sys/sparc64/include/param.h



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