Tue Jan 22 15:52:17 2013 UTC ()
Use correct macro.


(wiz)
diff -r1.25 -r1.26 src/share/man/man9/usbdi.9

cvs diff -r1.25 -r1.26 src/share/man/man9/usbdi.9 (expand / switch to unified diff)

--- src/share/man/man9/usbdi.9 2013/01/22 15:35:08 1.25
+++ src/share/man/man9/usbdi.9 2013/01/22 15:52:17 1.26
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: usbdi.9,v 1.25 2013/01/22 15:35:08 jmcneill Exp $ 1.\" $NetBSD: usbdi.9,v 1.26 2013/01/22 15:52:17 wiz Exp $
2.\" 2.\"
3.\" Copyright (c) 2012 Matthew R. Green 3.\" Copyright (c) 2012 Matthew R. Green
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 3. The name of the author may not be used to endorse or promote products 14.\" 3. The name of the author may not be used to endorse or promote products
@@ -924,31 +924,31 @@ The @@ -924,31 +924,31 @@ The
924.Fn usb_init_task 924.Fn usb_init_task
925function takes a pointer to a 925function takes a pointer to a
926.Ft struct usb_task 926.Ft struct usb_task
927that will be initalised, a function to call for this task 927that will be initalised, a function to call for this task
928.Fa func , 928.Fa func ,
929the argument to pass to 929the argument to pass to
930.Fa func , 930.Fa func ,
931.Fa arg , 931.Fa arg ,
932and the task flags 932and the task flags
933.Fa flags . 933.Fa flags .
934If the 934If the
935.Fa flags 935.Fa flags
936argument is 936argument is
937.Dt USB_TASKQ_MPSAFE , 937.Dv USB_TASKQ_MPSAFE ,
938the 938the
939.Fa func 939.Fa func
940function will be called without first acquiring 940function will be called without first acquiring
941.Dt kernel_lock . 941.Dv kernel_lock .
942.Pp 942.Pp
943To invoke the task callback the 943To invoke the task callback the
944.Fn usb_add_task 944.Fn usb_add_task
945function should be called with the 945function should be called with the
946.Fa iface 946.Fa iface
947associated with this device, the task structure 947associated with this device, the task structure
948.Fa task , 948.Fa task ,
949and the 949and the
950.Fa queue 950.Fa queue
951to run against, either 951to run against, either
952.Dv USB_TASKQ_HC 952.Dv USB_TASKQ_HC
953for operations initiated by host controllers or 953for operations initiated by host controllers or
954.Dv USB_TASKQ_DRIVER 954.Dv USB_TASKQ_DRIVER