Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2009 19:54:16 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/pci pci_user.c pcireg.h src/usr.sbin/pciconf pciconf.8 pciconf.c
Message-ID:  <200902022000.n12K07ks054934@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2009-02-02 19:54:16 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci_user.c pcireg.h 
    usr.sbin/pciconf     pciconf.8 pciconf.c 
  Log:
  SVN rev 188018 on 2009-02-02 19:54:16Z by jhb
  
  - Add a new ioctl to /dev/pci to fetch details on an individual BAR of a
    device.  The details include the current value of the BAR (including all
    the flag bits and the current base address), its length, and whether or not
    it is enabled.  Since this operation is not invasive, non-root users are
    allowed to use it (unlike manual config register access which requires
    root).  The intention is that userland apps (such as Xorg) will use this
    interface rather than dangerously frobbing the BARs from userland to
    obtain this information.
  - Add a new sub-mode to the 'list' mode of pciconf.  The -b flag when used
    with -l will now list all the active BARs for each device.
  
  MFC after:      1 month
  
  Revision  Changes    Path
  1.27      +70 -3     src/sys/dev/pci/pci_user.c
  1.68      +3 -1      src/sys/dev/pci/pcireg.h
  1.32      +27 -1     src/usr.sbin/pciconf/pciconf.8
  1.36      +69 -6     src/usr.sbin/pciconf/pciconf.c



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