freebsd-nq/contrib
John Baldwin 64de80195b Add a new device control utility for new-bus devices called devctl. This
allows the user to request administrative changes to individual devices
such as attach or detaching drivers or disabling and re-enabling devices.
- Add a new /dev/devctl2 character device which uses ioctls for device
  requests.  The ioctls use a common 'struct devreq' which is somewhat
  similar to 'struct ifreq'.
- The ioctls identify the device to operate on via a string.  This
  string can either by the device's name, or it can be a bus-specific
  address.  (For unattached devices, a bus address is the only way to
  locate a device.)  Bus drivers register an eventhandler to claim
  unrecognized device names that the driver recognizes as a valid address.
  Two buses currently support addresses: ACPI recognizes any device
  in the ACPI namespace via its full path starting with "\" and
  the PCI bus driver recognizes an address specification of
  'pci[<domain>:]<bus>:<slot>:<func>' (identical to the PCI selector
  strings supported by pciconf).
- To make it easier to cut and paste, change the PnP location string
  in the PCI bus driver to output a full PCI selector string rather
  than 'slot=<slot> function=<func>'.
- Add a devctl(3) interface in libdevctl which provides a wrapper around
  the ioctls and is the preferred interface for other userland code.
- Add a devctl(8) program which is a simple wrapper around the requests
  supported by devctl(3).
- Add a device_is_suspended() function to check DF_SUSPENDED.
- Add a resource_unset_value() function that can be used to remove a
  hint from the kernel environment.  This is used to clear a
  hint.<driver>.<unit>.disabled hint when re-enabling a boot-time
  disabled device.

Reviewed by:	imp (parts)
Requested by:	imp (changing PCI location string)
Relnotes:	yes
2015-02-06 16:09:01 +00:00
..
amd MFV r277870 2015-01-29 15:35:55 +00:00
apr
apr-util
atf
binutils Add pregenerated documentation for as(1) and ld(1) 2015-01-04 00:58:30 +00:00
bmake
bsnmp Fix the function signatures when MK_CRYPT == no for snmp_get_local_keys and 2014-12-27 20:58:01 +00:00
byacc Regen test cases for yacc(1) after r274460. YYINT is int now. 2014-11-13 17:54:17 +00:00
bzip2 Remove unknown macro 2014-12-26 07:36:42 +00:00
com_err
compiler-rt Remove the <netinet/ip_compat.h> include from one of the newly added 2015-01-14 22:37:11 +00:00
dialog
diff
dma
dtc
ee Fix minor syntax and grammar errors in the markup of the ee(1) man page 2015-01-18 17:25:41 +00:00
elftoolchain Preserve hard & symbolic links when modifying source file 2015-01-28 18:37:09 +00:00
expat
file MFV r276568: 2015-01-02 21:20:02 +00:00
flex
gcc FreeBSD expects _Unwind_GetGR, _Unwind_SetGR, and _Unwind_SetIP to be 2015-02-01 09:50:33 +00:00
gcclibs
gdb MFV r277658: 2015-01-24 21:05:18 +00:00
gdtoa
gperf
groff
hyperv/tools Test errno against EEXIST as well. 2014-11-11 16:49:33 +00:00
ipfilter
jemalloc Fix known issues which blow up the process after dlopen("libthr.so") 2015-01-03 18:38:46 +00:00
ldns
ldns-host
less
libarchive Fix the following -Werror warning from clang 3.5.0, while building 2014-11-22 12:10:09 +00:00
libbegemot
libc-pwcache
libc-vis
libc++ Import libc++ trunk r224926. This fixes a number of bugs, completes 2015-01-15 21:17:36 +00:00
libcxxrt Import libcxxrt master 1cb607e89f6135bbc10f3d3b6fba1f983e258dcc. 2015-01-31 23:31:45 +00:00
libexecinfo
libgnuregex
libpcap MFV r276759: libpcap 1.6.2. 2015-01-06 22:29:12 +00:00
libreadline
libstdc++
libucl Update libucl to latest version 2014-11-29 00:45:09 +00:00
libxo Upgrade libxo to 0.2.0. 2015-01-19 02:22:03 +00:00
llvm Belatedly add the clang patch corresponding to r277423. 2015-02-02 20:05:52 +00:00
mdocml Add a new device control utility for new-bus devices called devctl. This 2015-02-06 16:09:01 +00:00
mknod
mtree
ncurses
netbsd-tests ttyname_r(): Return actual error, not always [ENOTTY]. 2015-02-01 22:50:33 +00:00
netcat
ngatm
ntp ntpd tries to bind to IPv6 interfaces in 'tentative' state and fails as IPv6 is 2015-01-14 23:34:00 +00:00
nvi
ofed Don't call abort on usage errors; print out the usage message instead 2015-01-16 21:12:36 +00:00
one-true-awk
openbsm
openpam Staticize the test plans. 2014-11-05 20:13:18 +00:00
openresolv
opie
pam_modules/pam_passwdqc
pf
pjdfstest
pnpinfo
sendmail Remove build specific details from sendmail.cf/submit.cf in support of 2015-01-27 04:06:47 +00:00
serf
smbfs
sqlite3 Update sqlite3 to 3.8.7.2 2014-11-22 19:18:08 +00:00
subversion Sync the svn template with the one from ports 2014-12-02 00:23:26 +00:00
tcp_wrappers
tcpdump MFV r277981: 2015-01-31 16:34:39 +00:00
tcsh
telnet Add baud rate support to telnet(1) 2014-11-11 04:06:05 +00:00
tnftp [SA-14:25] Fix kernel stack disclosure in setlogin(2) / getlogin(2). 2014-11-04 23:29:29 +00:00
top
traceroute
tzcode Revert WiP to contrib/tzcode accidentally committed with r274364 2014-11-11 04:07:41 +00:00
tzdata MFV of 274557,tzdata{2014j} 2014-11-16 01:00:39 +00:00
unbound MFV (r277045): merge upstream version of the local socket patch. 2015-01-12 09:46:49 +00:00
unvis
vis Import NetBSD vis(1) mandoc fixes 2015-01-03 23:16:13 +00:00
wpa
xz Install the liblzma pkg-config file 2015-01-10 00:11:10 +00:00