Skip to content

Commit 61e0e79

Browse files
author
David Vrabel
committed
Merge branch 'master' into for-upstream
Conflicts: Documentation/ABI/testing/sysfs-bus-usb drivers/Makefile
2 parents c15895e + 0cfd810 commit 61e0e79

File tree

6,522 files changed

+533196
-168672
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,522 files changed

+533196
-168672
lines changed

Documentation/00-INDEX

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Changes
2121
- list of changes that break older software packages.
2222
CodingStyle
2323
- how the boss likes the C code in the kernel to look.
24+
development-process/
25+
- An extended tutorial on how to work with the kernel development
26+
process.
2427
DMA-API.txt
2528
- DMA API, pci_ API & extensions for non-consistent memory machines.
2629
DMA-ISA-LPC.txt
@@ -159,8 +162,6 @@ hayes-esp.txt
159162
- info on using the Hayes ESP serial driver.
160163
highuid.txt
161164
- notes on the change from 16 bit to 32 bit user/group IDs.
162-
hpet.txt
163-
- High Precision Event Timer Driver for Linux.
164165
timers/
165166
- info on the timer related topics
166167
hw_random.txt
@@ -251,8 +252,6 @@ mono.txt
251252
- how to execute Mono-based .NET binaries with the help of BINFMT_MISC.
252253
moxa-smartio
253254
- file with info on installing/using Moxa multiport serial driver.
254-
mtrr.txt
255-
- how to use PPro Memory Type Range Registers to increase performance.
256255
mutex-design.txt
257256
- info on the generic mutex subsystem.
258257
namespaces/
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
What: /sys/bus/usb/drivers/usbtmc/devices/*/interface_capabilities
2+
What: /sys/bus/usb/drivers/usbtmc/devices/*/device_capabilities
3+
Date: August 2008
4+
Contact: Greg Kroah-Hartman <[email protected]>
5+
Description:
6+
These files show the various USB TMC capabilities as described
7+
by the device itself. The full description of the bitfields
8+
can be found in the USB TMC documents from the USB-IF entitled
9+
"Universal Serial Bus Test and Measurement Class Specification
10+
(USBTMC) Revision 1.0" section 4.2.1.8.
11+
12+
The files are read only.
13+
14+
15+
What: /sys/bus/usb/drivers/usbtmc/devices/*/usb488_interface_capabilities
16+
What: /sys/bus/usb/drivers/usbtmc/devices/*/usb488_device_capabilities
17+
Date: August 2008
18+
Contact: Greg Kroah-Hartman <[email protected]>
19+
Description:
20+
These files show the various USB TMC capabilities as described
21+
by the device itself. The full description of the bitfields
22+
can be found in the USB TMC documents from the USB-IF entitled
23+
"Universal Serial Bus Test and Measurement Class, Subclass
24+
USB488 Specification (USBTMC-USB488) Revision 1.0" section
25+
4.2.2.
26+
27+
The files are read only.
28+
29+
30+
What: /sys/bus/usb/drivers/usbtmc/devices/*/TermChar
31+
Date: August 2008
32+
Contact: Greg Kroah-Hartman <[email protected]>
33+
Description:
34+
This file is the TermChar value to be sent to the USB TMC
35+
device as described by the document, "Universal Serial Bus Test
36+
and Measurement Class Specification
37+
(USBTMC) Revision 1.0" as published by the USB-IF.
38+
39+
Note that the TermCharEnabled file determines if this value is
40+
sent to the device or not.
41+
42+
43+
What: /sys/bus/usb/drivers/usbtmc/devices/*/TermCharEnabled
44+
Date: August 2008
45+
Contact: Greg Kroah-Hartman <[email protected]>
46+
Description:
47+
This file determines if the TermChar is to be sent to the
48+
device on every transaction or not. For more details about
49+
this, please see the document, "Universal Serial Bus Test and
50+
Measurement Class Specification (USBTMC) Revision 1.0" as
51+
published by the USB-IF.
52+
53+
54+
What: /sys/bus/usb/drivers/usbtmc/devices/*/auto_abort
55+
Date: August 2008
56+
Contact: Greg Kroah-Hartman <[email protected]>
57+
Description:
58+
This file determines if the the transaction of the USB TMC
59+
device is to be automatically aborted if there is any error.
60+
For more details about this, please see the document,
61+
"Universal Serial Bus Test and Measurement Class Specification
62+
(USBTMC) Revision 1.0" as published by the USB-IF.

Documentation/ABI/testing/sysfs-bus-usb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,22 @@ Users:
8686
PowerTOP <[email protected]>
8787
http://www.lesswatts.org/projects/powertop/
8888

89+
What: /sys/bus/usb/device/<busnum>-<devnum>...:<config num>-<interface num>/supports_autosuspend
90+
Date: January 2008
91+
KernelVersion: 2.6.27
92+
Contact: Sarah Sharp <[email protected]>
93+
Description:
94+
When read, this file returns 1 if the interface driver
95+
for this interface supports autosuspend. It also
96+
returns 1 if no driver has claimed this interface, as an
97+
unclaimed interface will not stop the device from being
98+
autosuspended if all other interface drivers are idle.
99+
The file returns 0 if autosuspend support has not been
100+
added to the driver.
101+
Users:
102+
USB PM tool
103+
git://git.moblin.org/users/sarah/usb-pm-tool/
104+
89105
What: /sys/bus/usb/device/.../authorized
90106
Date: July 2008
91107
KernelVersion: 2.6.26
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Where: /sys/bus/usb/.../powered
2+
Date: August 2008
3+
Kernel Version: 2.6.26
4+
Contact: Harrison Metzger <[email protected]>
5+
Description: Controls whether the device's display will powered.
6+
A value of 0 is off and a non-zero value is on.
7+
8+
Where: /sys/bus/usb/.../mode_msb
9+
Where: /sys/bus/usb/.../mode_lsb
10+
Date: August 2008
11+
Kernel Version: 2.6.26
12+
Contact: Harrison Metzger <[email protected]>
13+
Description: Controls the devices display mode.
14+
For a 6 character display the values are
15+
MSB 0x06; LSB 0x3F, and
16+
for an 8 character display the values are
17+
MSB 0x08; LSB 0xFF.
18+
19+
Where: /sys/bus/usb/.../textmode
20+
Date: August 2008
21+
Kernel Version: 2.6.26
22+
Contact: Harrison Metzger <[email protected]>
23+
Description: Controls the way the device interprets its text buffer.
24+
raw: each character controls its segment manually
25+
hex: each character is between 0-15
26+
ascii: each character is between '0'-'9' and 'A'-'F'.
27+
28+
Where: /sys/bus/usb/.../text
29+
Date: August 2008
30+
Kernel Version: 2.6.26
31+
Contact: Harrison Metzger <[email protected]>
32+
Description: The text (or data) for the device to display
33+
34+
Where: /sys/bus/usb/.../decimals
35+
Date: August 2008
36+
Kernel Version: 2.6.26
37+
Contact: Harrison Metzger <[email protected]>
38+
Description: Controls the decimal places on the device.
39+
To set the nth decimal place, give this field
40+
the value of 10 ** n. Assume this field has
41+
the value k and has 1 or more decimal places set,
42+
to set the mth place (where m is not already set),
43+
change this fields value to k + 10 ** m.

Documentation/ABI/testing/sysfs-class-regulator

Lines changed: 34 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
What: /sys/class/regulator/.../state
22
Date: April 2008
33
KernelVersion: 2.6.26
4-
Contact: Liam Girdwood <[email protected]>
4+
Contact: Liam Girdwood <[email protected]>
55
Description:
66
Each regulator directory will contain a field called
77
state. This holds the regulator output state.
@@ -27,7 +27,7 @@ Description:
2727
What: /sys/class/regulator/.../type
2828
Date: April 2008
2929
KernelVersion: 2.6.26
30-
Contact: Liam Girdwood <[email protected]>
30+
Contact: Liam Girdwood <[email protected]>
3131
Description:
3232
Each regulator directory will contain a field called
3333
type. This holds the regulator type.
@@ -51,7 +51,7 @@ Description:
5151
What: /sys/class/regulator/.../microvolts
5252
Date: April 2008
5353
KernelVersion: 2.6.26
54-
Contact: Liam Girdwood <[email protected]>
54+
Contact: Liam Girdwood <[email protected]>
5555
Description:
5656
Each regulator directory will contain a field called
5757
microvolts. This holds the regulator output voltage setting
@@ -65,7 +65,7 @@ Description:
6565
What: /sys/class/regulator/.../microamps
6666
Date: April 2008
6767
KernelVersion: 2.6.26
68-
Contact: Liam Girdwood <[email protected]>
68+
Contact: Liam Girdwood <[email protected]>
6969
Description:
7070
Each regulator directory will contain a field called
7171
microamps. This holds the regulator output current limit
@@ -79,7 +79,7 @@ Description:
7979
What: /sys/class/regulator/.../opmode
8080
Date: April 2008
8181
KernelVersion: 2.6.26
82-
Contact: Liam Girdwood <[email protected]>
82+
Contact: Liam Girdwood <[email protected]>
8383
Description:
8484
Each regulator directory will contain a field called
8585
opmode. This holds the regulator operating mode setting.
@@ -102,7 +102,7 @@ Description:
102102
What: /sys/class/regulator/.../min_microvolts
103103
Date: April 2008
104104
KernelVersion: 2.6.26
105-
Contact: Liam Girdwood <[email protected]>
105+
Contact: Liam Girdwood <[email protected]>
106106
Description:
107107
Each regulator directory will contain a field called
108108
min_microvolts. This holds the minimum safe working regulator
@@ -116,7 +116,7 @@ Description:
116116
What: /sys/class/regulator/.../max_microvolts
117117
Date: April 2008
118118
KernelVersion: 2.6.26
119-
Contact: Liam Girdwood <[email protected]>
119+
Contact: Liam Girdwood <[email protected]>
120120
Description:
121121
Each regulator directory will contain a field called
122122
max_microvolts. This holds the maximum safe working regulator
@@ -130,7 +130,7 @@ Description:
130130
What: /sys/class/regulator/.../min_microamps
131131
Date: April 2008
132132
KernelVersion: 2.6.26
133-
Contact: Liam Girdwood <[email protected]>
133+
Contact: Liam Girdwood <[email protected]>
134134
Description:
135135
Each regulator directory will contain a field called
136136
min_microamps. This holds the minimum safe working regulator
@@ -145,7 +145,7 @@ Description:
145145
What: /sys/class/regulator/.../max_microamps
146146
Date: April 2008
147147
KernelVersion: 2.6.26
148-
Contact: Liam Girdwood <[email protected]>
148+
Contact: Liam Girdwood <[email protected]>
149149
Description:
150150
Each regulator directory will contain a field called
151151
max_microamps. This holds the maximum safe working regulator
@@ -157,10 +157,23 @@ Description:
157157
platform code.
158158

159159

160+
What: /sys/class/regulator/.../name
161+
Date: October 2008
162+
KernelVersion: 2.6.28
163+
Contact: Liam Girdwood <[email protected]>
164+
Description:
165+
Each regulator directory will contain a field called
166+
name. This holds a string identifying the regulator for
167+
display purposes.
168+
169+
NOTE: this will be empty if no suitable name is provided
170+
by platform or regulator drivers.
171+
172+
160173
What: /sys/class/regulator/.../num_users
161174
Date: April 2008
162175
KernelVersion: 2.6.26
163-
Contact: Liam Girdwood <[email protected]>
176+
Contact: Liam Girdwood <[email protected]>
164177
Description:
165178
Each regulator directory will contain a field called
166179
num_users. This holds the number of consumer devices that
@@ -170,7 +183,7 @@ Description:
170183
What: /sys/class/regulator/.../requested_microamps
171184
Date: April 2008
172185
KernelVersion: 2.6.26
173-
Contact: Liam Girdwood <[email protected]>
186+
Contact: Liam Girdwood <[email protected]>
174187
Description:
175188
Each regulator directory will contain a field called
176189
requested_microamps. This holds the total requested load
@@ -181,15 +194,15 @@ Description:
181194
What: /sys/class/regulator/.../parent
182195
Date: April 2008
183196
KernelVersion: 2.6.26
184-
Contact: Liam Girdwood <[email protected]>
197+
Contact: Liam Girdwood <[email protected]>
185198
Description:
186199
Some regulator directories will contain a link called parent.
187200
This points to the parent or supply regulator if one exists.
188201

189202
What: /sys/class/regulator/.../suspend_mem_microvolts
190203
Date: May 2008
191204
KernelVersion: 2.6.26
192-
Contact: Liam Girdwood <[email protected]>
205+
Contact: Liam Girdwood <[email protected]>
193206
Description:
194207
Each regulator directory will contain a field called
195208
suspend_mem_microvolts. This holds the regulator output
@@ -203,7 +216,7 @@ Description:
203216
What: /sys/class/regulator/.../suspend_disk_microvolts
204217
Date: May 2008
205218
KernelVersion: 2.6.26
206-
Contact: Liam Girdwood <[email protected]>
219+
Contact: Liam Girdwood <[email protected]>
207220
Description:
208221
Each regulator directory will contain a field called
209222
suspend_disk_microvolts. This holds the regulator output
@@ -217,7 +230,7 @@ Description:
217230
What: /sys/class/regulator/.../suspend_standby_microvolts
218231
Date: May 2008
219232
KernelVersion: 2.6.26
220-
Contact: Liam Girdwood <[email protected]>
233+
Contact: Liam Girdwood <[email protected]>
221234
Description:
222235
Each regulator directory will contain a field called
223236
suspend_standby_microvolts. This holds the regulator output
@@ -231,7 +244,7 @@ Description:
231244
What: /sys/class/regulator/.../suspend_mem_mode
232245
Date: May 2008
233246
KernelVersion: 2.6.26
234-
Contact: Liam Girdwood <[email protected]>
247+
Contact: Liam Girdwood <[email protected]>
235248
Description:
236249
Each regulator directory will contain a field called
237250
suspend_mem_mode. This holds the regulator operating mode
@@ -245,7 +258,7 @@ Description:
245258
What: /sys/class/regulator/.../suspend_disk_mode
246259
Date: May 2008
247260
KernelVersion: 2.6.26
248-
Contact: Liam Girdwood <[email protected]>
261+
Contact: Liam Girdwood <[email protected]>
249262
Description:
250263
Each regulator directory will contain a field called
251264
suspend_disk_mode. This holds the regulator operating mode
@@ -258,7 +271,7 @@ Description:
258271
What: /sys/class/regulator/.../suspend_standby_mode
259272
Date: May 2008
260273
KernelVersion: 2.6.26
261-
Contact: Liam Girdwood <[email protected]>
274+
Contact: Liam Girdwood <[email protected]>
262275
Description:
263276
Each regulator directory will contain a field called
264277
suspend_standby_mode. This holds the regulator operating mode
@@ -272,7 +285,7 @@ Description:
272285
What: /sys/class/regulator/.../suspend_mem_state
273286
Date: May 2008
274287
KernelVersion: 2.6.26
275-
Contact: Liam Girdwood <[email protected]>
288+
Contact: Liam Girdwood <[email protected]>
276289
Description:
277290
Each regulator directory will contain a field called
278291
suspend_mem_state. This holds the regulator operating state
@@ -287,7 +300,7 @@ Description:
287300
What: /sys/class/regulator/.../suspend_disk_state
288301
Date: May 2008
289302
KernelVersion: 2.6.26
290-
Contact: Liam Girdwood <[email protected]>
303+
Contact: Liam Girdwood <[email protected]>
291304
Description:
292305
Each regulator directory will contain a field called
293306
suspend_disk_state. This holds the regulator operating state
@@ -302,7 +315,7 @@ Description:
302315
What: /sys/class/regulator/.../suspend_standby_state
303316
Date: May 2008
304317
KernelVersion: 2.6.26
305-
Contact: Liam Girdwood <[email protected]>
318+
Contact: Liam Girdwood <[email protected]>
306319
Description:
307320
Each regulator directory will contain a field called
308321
suspend_standby_state. This holds the regulator operating
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
What: /sys/kernel/profile
2+
Date: September 2008
3+
Contact: Dave Hansen <[email protected]>
4+
Description:
5+
/sys/kernel/profile is the runtime equivalent
6+
of the boot-time profile= option.
7+
8+
You can get the same effect running:
9+
10+
echo 2 > /sys/kernel/profile
11+
12+
as you would by issuing profile=2 on the boot
13+
command line.

Documentation/DMA-API.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ With scatterlists, you use the resulting mapping like this:
337337
int i, count = dma_map_sg(dev, sglist, nents, direction);
338338
struct scatterlist *sg;
339339

340-
for (i = 0, sg = sglist; i < count; i++, sg++) {
340+
for_each_sg(sglist, sg, count, i) {
341341
hw_address[i] = sg_dma_address(sg);
342342
hw_len[i] = sg_dma_len(sg);
343343
}

Documentation/DocBook/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# To add a new book the only step required is to add the book to the
77
# list of DOCBOOKS.
88

9-
DOCBOOKS := wanbook.xml z8530book.xml mcabook.xml videobook.xml \
9+
DOCBOOKS := wanbook.xml z8530book.xml mcabook.xml \
1010
kernel-hacking.xml kernel-locking.xml deviceiobook.xml \
1111
procfs-guide.xml writing_usb_driver.xml networking.xml \
1212
kernel-api.xml filesystems.xml lsm.xml usb.xml kgdb.xml \

0 commit comments

Comments
 (0)