Searched hist:"333 ebd77dc956b8f84d3261d42b0ec76875272b5" (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/sys/ |
H A D | pciio.h | diff 333ebd77dc956b8f84d3261d42b0ec76875272b5 Mon Feb 02 23:04:40 CET 2009 John Baldwin <jhb@FreeBSD.org> - 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 diff 333ebd77dc956b8f84d3261d42b0ec76875272b5 Mon Feb 02 23:04:40 CET 2009 John Baldwin <jhb@FreeBSD.org> - 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
|