Commit Graph

10 Commits

Author SHA1 Message Date
dyoung
c4923ea4ad Document -l, -Q, -R, and -S. 2008-02-16 02:00:37 +00:00
dyoung
ae1c071d6f Patch /dev/drvctl and drvctl(8) to let us suspend/resume device
sub-trees, and to let us list the children of a device.

While I am here, add -p to the drvctl(8) usage message.
2008-01-27 01:38:33 +00:00
christos
20d50f44a1 drvctl 4 does not exist. 2007-03-10 20:32:26 +00:00
thorpej
ef731d9e00 - Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic
"execute a command" ioctl that takes a dictionary as an argument
  (specifying the command and arguments) and returns a dictionary
  with the results (error code, optional error message, optional
  result data).

- Define and implement a "get-properties" command for DRVCTLCOMMAND
  that returns the properties dictionary of the specified device.

- Add a -p flag to drvctl(8) to fetch and display the properties of
  the specified device.

This is a great example of how to use prop_dictionary_sendrecv_ioctl().
2006-09-22 04:37:36 +00:00
christos
2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +00:00
lukem
2cd106ee37 Fix an uninitialized variable issue.
Found with gcc -Wuninitialized.
2005-06-02 00:00:46 +00:00
xtraeme
7b1148bc92 ANSIfy; WARNS=3 2005-01-20 15:56:30 +00:00
wiz
702f9dca18 Sync usage with man page. 2004-08-18 13:24:55 +00:00
wiz
79632fc9ad New sentence, new line. 2004-08-18 13:21:36 +00:00
drochner
0c34f6cd99 add a little utility to exercise the rescan / detach autoconf functions 2004-08-18 12:30:01 +00:00