diff options
author | Luca Risolia <luca.risolia@studio.unibo.it> | 2006-01-13 12:19:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 20:23:38 -0500 |
commit | cd6fcc555fe278263880abdb93352ab205099db9 (patch) | |
tree | de09c1d3183ed41c1eef653d90a29a03370b2128 /Documentation/usb | |
parent | e988fc8a56bb3f76624dd7b0fb13ae3eaccefa59 (diff) |
[PATCH] USB: SN9C10x driver updates
SN9C10x driver updates:
- Use kzalloc() instead of kmalloc()
- Move some macro definitions from sn9c102.h to sn9c102_core.c
- Use vfree() and vmalloc_32() instead of rvfree() and rvmalloc()
- Fix mmap() sys call
- Documentation updates
Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/usb')
-rw-r--r-- | Documentation/usb/sn9c102.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/usb/sn9c102.txt b/Documentation/usb/sn9c102.txt index 541b17fd27f6..c6b76414172c 100644 --- a/Documentation/usb/sn9c102.txt +++ b/Documentation/usb/sn9c102.txt | |||
@@ -111,6 +111,12 @@ corresponding modules must be compiled: | |||
111 | # | 111 | # |
112 | CONFIG_VIDEO_DEV=m | 112 | CONFIG_VIDEO_DEV=m |
113 | 113 | ||
114 | To enable advanced debugging functionality on the device through /sysfs: | ||
115 | |||
116 | # Multimedia devices | ||
117 | # | ||
118 | CONFIG_VIDEO_ADV_DEBUG=y | ||
119 | |||
114 | # USB support | 120 | # USB support |
115 | # | 121 | # |
116 | CONFIG_USB=m | 122 | CONFIG_USB=m |
@@ -208,7 +214,8 @@ Default: 2 | |||
208 | 214 | ||
209 | 8. Optional device control through "sysfs" [1] | 215 | 8. Optional device control through "sysfs" [1] |
210 | ========================================== | 216 | ========================================== |
211 | It is possible to read and write both the SN9C10x and the image sensor | 217 | If the kernel has been compiled with the CONFIG_VIDEO_ADV_DEBUG option enabled, |
218 | it is possible to read and write both the SN9C10x and the image sensor | ||
212 | registers by using the "sysfs" filesystem interface. | 219 | registers by using the "sysfs" filesystem interface. |
213 | 220 | ||
214 | Every time a supported device is recognized, a write-only file named "green" is | 221 | Every time a supported device is recognized, a write-only file named "green" is |