diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /drivers/media/video/pvrusb2/pvrusb2-debugifc.h | |
parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) |
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-debugifc.h')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-debugifc.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-debugifc.h b/drivers/media/video/pvrusb2/pvrusb2-debugifc.h new file mode 100644 index 00000000000..2f8d46761cd --- /dev/null +++ b/drivers/media/video/pvrusb2/pvrusb2-debugifc.h | |||
@@ -0,0 +1,52 @@ | |||
1 | /* | ||
2 | * | ||
3 | * | ||
4 | * Copyright (C) 2005 Mike Isely <isely@pobox.com> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | * | ||
19 | */ | ||
20 | #ifndef __PVRUSB2_DEBUGIFC_H | ||
21 | #define __PVRUSB2_DEBUGIFC_H | ||
22 | |||
23 | struct pvr2_hdw; | ||
24 | |||
25 | /* Print general status of driver. This will also trigger a probe of | ||
26 | the USB link. Unlike print_info(), this one synchronizes with the | ||
27 | driver so the information should be self-consistent (but it will | ||
28 | hang if the driver is wedged). */ | ||
29 | int pvr2_debugifc_print_info(struct pvr2_hdw *, | ||
30 | char *buf_ptr, unsigned int buf_size); | ||
31 | |||
32 | /* Non-intrusively print some useful debugging info from inside the | ||
33 | driver. This should work even if the driver appears to be | ||
34 | wedged. */ | ||
35 | int pvr2_debugifc_print_status(struct pvr2_hdw *, | ||
36 | char *buf_ptr,unsigned int buf_size); | ||
37 | |||
38 | /* Parse a string command into a driver action. */ | ||
39 | int pvr2_debugifc_docmd(struct pvr2_hdw *, | ||
40 | const char *buf_ptr,unsigned int buf_size); | ||
41 | |||
42 | #endif /* __PVRUSB2_DEBUGIFC_H */ | ||
43 | |||
44 | /* | ||
45 | Stuff for Emacs to see, in order to encourage consistent editing style: | ||
46 | *** Local Variables: *** | ||
47 | *** mode: c *** | ||
48 | *** fill-column: 75 *** | ||
49 | *** tab-width: 8 *** | ||
50 | *** c-basic-offset: 8 *** | ||
51 | *** End: *** | ||
52 | */ | ||