Date: Mon, 2 Feb 2009 22:04:40 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sys pciio.h Message-ID: <200902022204.n12M4uIW078214@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-02-02 22:04:40 UTC FreeBSD src repository Modified files: sys/sys pciio.h Log: SVN rev 188032 on 2009-02-02 22:04:40Z 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. (Missed in previous commit) MFC after: 1 week Revision Changes Path 1.9 +9 -0 src/sys/sys/pciio.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902022204.n12M4uIW078214>