Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2003 19:36:49 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/include pci_cfgreg.h src/sys/i386/pci pci_bus.c pci_cfgreg.c src/sys/kern subr_witness.c
Message-ID:  <200302180336.h1I3aneM052083@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2003/02/17 19:36:49 PST

  Modified files:
    sys/i386/include     pci_cfgreg.h 
    sys/i386/pci         pci_bus.c pci_cfgreg.c 
    sys/kern             subr_witness.c 
  Log:
  Initiate de-orbit burn for USE_PCI_BIOS_FOR_READ_WRITE.  This has been
  #if'ed out for a while.  Complete the deed and tidy up some other bits.
  
  We need to be able to call this stuff from outer edges of interrupt
  handlers for devices that have the ISR bits in pci config space.  Making
  the bios code mpsafe was just too hairy.  We had also stubbed it out some
  time ago due to there simply being too much brokenness in too many systems.
  This adds a leaf lock so that it is safe to use pci_read_config() and
  pci_write_config() from interrupt handlers.  We still will use pcibios
  to do interrupt routing if there is no acpi.. [yes, I tested this]
  
  Briefly glanced at by:  imp
  
  Revision  Changes    Path
  1.9       +0 -2      src/sys/i386/include/pci_cfgreg.h
  1.98      +0 -18     src/sys/i386/pci/pci_bus.c
  1.101     +28 -129   src/sys/i386/pci/pci_cfgreg.c
  1.138     +3 -0      src/sys/kern/subr_witness.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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