diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/SubmitChecklist | 6 | ||||
-rw-r--r-- | Documentation/gpio.txt | 4 | ||||
-rw-r--r-- | Documentation/kref.txt | 2 | ||||
-rw-r--r-- | Documentation/mips/pci/pci.README | 54 | ||||
-rw-r--r-- | Documentation/video4linux/CARDLIST.saa7134 | 5 | ||||
-rw-r--r-- | Documentation/video4linux/sn9c102.txt | 18 |
6 files changed, 21 insertions, 68 deletions
diff --git a/Documentation/SubmitChecklist b/Documentation/SubmitChecklist index 6491b2c45dd4..3af3e65cf43b 100644 --- a/Documentation/SubmitChecklist +++ b/Documentation/SubmitChecklist | |||
@@ -73,9 +73,9 @@ kernel patches. | |||
73 | If the new code is substantial, addition of subsystem-specific fault | 73 | If the new code is substantial, addition of subsystem-specific fault |
74 | injection might be appropriate. | 74 | injection might be appropriate. |
75 | 75 | ||
76 | 22: Newly-added code has been compiled with `gcc -W'. This will generate | 76 | 22: Newly-added code has been compiled with `gcc -W' (use "make |
77 | lots of noise, but is good for finding bugs like "warning: comparison | 77 | EXTRA_CFLAGS=-W"). This will generate lots of noise, but is good for |
78 | between signed and unsigned". | 78 | finding bugs like "warning: comparison between signed and unsigned". |
79 | 79 | ||
80 | 23: Tested after it has been merged into the -mm patchset to make sure | 80 | 23: Tested after it has been merged into the -mm patchset to make sure |
81 | that it still works with all of the other queued patches and various | 81 | that it still works with all of the other queued patches and various |
diff --git a/Documentation/gpio.txt b/Documentation/gpio.txt index f8528db967fa..e8be0abb346c 100644 --- a/Documentation/gpio.txt +++ b/Documentation/gpio.txt | |||
@@ -66,7 +66,9 @@ registers; another might implement it by delegating through abstractions | |||
66 | used for several very different kinds of GPIO controller. | 66 | used for several very different kinds of GPIO controller. |
67 | 67 | ||
68 | That said, if the convention is supported on their platform, drivers should | 68 | That said, if the convention is supported on their platform, drivers should |
69 | use it when possible: | 69 | use it when possible. Platforms should declare GENERIC_GPIO support in |
70 | Kconfig (boolean true), which multi-platform drivers can depend on when | ||
71 | using the include file: | ||
70 | 72 | ||
71 | #include <asm/gpio.h> | 73 | #include <asm/gpio.h> |
72 | 74 | ||
diff --git a/Documentation/kref.txt b/Documentation/kref.txt index 42fe28445916..f38b59d00c63 100644 --- a/Documentation/kref.txt +++ b/Documentation/kref.txt | |||
@@ -67,7 +67,7 @@ void more_data_handling(void *cb_data) | |||
67 | . | 67 | . |
68 | . do stuff with data here | 68 | . do stuff with data here |
69 | . | 69 | . |
70 | kref_put(data, data_release); | 70 | kref_put(&data->refcount, data_release); |
71 | } | 71 | } |
72 | 72 | ||
73 | int my_data_handler(void) | 73 | int my_data_handler(void) |
diff --git a/Documentation/mips/pci/pci.README b/Documentation/mips/pci/pci.README deleted file mode 100644 index 8697ee41372d..000000000000 --- a/Documentation/mips/pci/pci.README +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | |||
2 | Pete Popov, ppopov@pacbell.net | ||
3 | 07/11/2001 | ||
4 | |||
5 | This README briefly explains how to use the pci and pci_auto | ||
6 | code in arch/mips/kernel. The code was ported from PowerPC and | ||
7 | modified slightly. It has been tested pretty well on PPC on some | ||
8 | rather complex systems with multiple bridges and devices behind | ||
9 | each bridge. However, at the time this README was written, the | ||
10 | mips port was tested only on boards with a single pci bus and | ||
11 | no P2P bridges. It's very possible that on boards with P2P | ||
12 | bridges some modifications have to be made. The code will | ||
13 | evolve, no doubt, but currently every single mips board | ||
14 | is doing its own pcibios thing and it has become a big | ||
15 | mess. This generic pci code is meant to clean up the mips | ||
16 | pci mess and make it easier to add pci support to new boards. | ||
17 | |||
18 | inside the define for your board in arch/mips/config.in. | ||
19 | For example, the Galileo EV96100 board looks like this: | ||
20 | |||
21 | if [ "$CONFIG_MIPS_EV96100" = "y" ]; then | ||
22 | define_bool CONFIG_PCI y | ||
23 | define_bool CONFIG_MIPS_GT96100 y | ||
24 | define_bool CONFIG_NEW_PCI y | ||
25 | define_bool CONFIG_SWAP_IO_SPACE y | ||
26 | fi | ||
27 | |||
28 | |||
29 | Next, if you want to use the arch/mips/kernel/pci code, which has the | ||
30 | pcibios_init() function, add | ||
31 | |||
32 | define_bool CONFIG_NEW_PCI y | ||
33 | |||
34 | inside the define for your board. Again, the EV96100 example above | ||
35 | show NEW_PCI turned on. | ||
36 | |||
37 | |||
38 | Now you need to add your files to hook in your pci configuration | ||
39 | cycles. Usually you'll need only a couple of files named something | ||
40 | like pci_fixups.c and pci_ops.c. You can copy the templates | ||
41 | provided and fill in the code. | ||
42 | |||
43 | The file pci_ops.c should contain the pci configuration cycles routines. | ||
44 | It also has the mips_pci_channels[] array which contains the descriptors | ||
45 | of each pci controller. | ||
46 | |||
47 | The file pci_fixups.c contains a few routines to do interrupt fixups, | ||
48 | resources fixups, and, if needed, pci bios fixups. | ||
49 | |||
50 | Usually you'll put your pci_fixups.c file in your board specific directory, | ||
51 | since the functions in that file are board specific. The functions in | ||
52 | pci_ops.c, on the other hand, are usually pci controller specific so that | ||
53 | file could be shared among a few different boards using the same | ||
54 | pci controller. | ||
diff --git a/Documentation/video4linux/CARDLIST.saa7134 b/Documentation/video4linux/CARDLIST.saa7134 index d7bb2e2e4d9b..712e8c8333cc 100644 --- a/Documentation/video4linux/CARDLIST.saa7134 +++ b/Documentation/video4linux/CARDLIST.saa7134 | |||
@@ -52,7 +52,7 @@ | |||
52 | 51 -> ProVideo PV952 [1540:9524] | 52 | 51 -> ProVideo PV952 [1540:9524] |
53 | 52 -> AverMedia AverTV/305 [1461:2108] | 53 | 52 -> AverMedia AverTV/305 [1461:2108] |
54 | 53 -> ASUS TV-FM 7135 [1043:4845] | 54 | 53 -> ASUS TV-FM 7135 [1043:4845] |
55 | 54 -> LifeView FlyTV Platinum FM / Gold [5168:0214,1489:0214,5168:0304] | 55 | 54 -> LifeView FlyTV Platinum FM / Gold [5168:0214,5168:5214,1489:0214,5168:0304] |
56 | 55 -> LifeView FlyDVB-T DUO / MSI TV@nywhere Duo [5168:0306,4E42:0306] | 56 | 55 -> LifeView FlyDVB-T DUO / MSI TV@nywhere Duo [5168:0306,4E42:0306] |
57 | 56 -> Avermedia AVerTV 307 [1461:a70a] | 57 | 56 -> Avermedia AVerTV 307 [1461:a70a] |
58 | 57 -> Avermedia AVerTV GO 007 FM [1461:f31f] | 58 | 57 -> Avermedia AVerTV GO 007 FM [1461:f31f] |
@@ -111,3 +111,6 @@ | |||
111 | 110 -> Avermedia M102 [1461:f31e] | 111 | 110 -> Avermedia M102 [1461:f31e] |
112 | 111 -> ASUS P7131 4871 [1043:4871] | 112 | 111 -> ASUS P7131 4871 [1043:4871] |
113 | 112 -> ASUSTeK P7131 Hybrid [1043:4876] | 113 | 112 -> ASUSTeK P7131 Hybrid [1043:4876] |
114 | 113 -> Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM) [1019:4cb6] | ||
115 | 114 -> KWorld DVB-T 210 [17de:7250] | ||
116 | 115 -> Sabrent PCMCIA TV-PCB05 [0919:2003] | ||
diff --git a/Documentation/video4linux/sn9c102.txt b/Documentation/video4linux/sn9c102.txt index 5fe0ad7dfc20..279717c96f63 100644 --- a/Documentation/video4linux/sn9c102.txt +++ b/Documentation/video4linux/sn9c102.txt | |||
@@ -355,6 +355,9 @@ devices assembling the SN9C1xx PC camera controllers: | |||
355 | 355 | ||
356 | Vendor ID Product ID | 356 | Vendor ID Product ID |
357 | --------- ---------- | 357 | --------- ---------- |
358 | 0x0458 0x7025 | ||
359 | 0x045e 0x00f5 | ||
360 | 0x045e 0x00f7 | ||
358 | 0x0471 0x0327 | 361 | 0x0471 0x0327 |
359 | 0x0471 0x0328 | 362 | 0x0471 0x0328 |
360 | 0x0c45 0x6001 | 363 | 0x0c45 0x6001 |
@@ -432,7 +435,7 @@ Image sensor / SN9C1xx bridge | SN9C10[12] SN9C103 SN9C105 SN9C120 | |||
432 | HV7131D Hynix Semiconductor | Yes No No No | 435 | HV7131D Hynix Semiconductor | Yes No No No |
433 | HV7131R Hynix Semiconductor | No Yes Yes Yes | 436 | HV7131R Hynix Semiconductor | No Yes Yes Yes |
434 | MI-0343 Micron Technology | Yes No No No | 437 | MI-0343 Micron Technology | Yes No No No |
435 | MI-0360 Micron Technology | No Yes No No | 438 | MI-0360 Micron Technology | No Yes Yes Yes |
436 | OV7630 OmniVision Technologies | Yes Yes No No | 439 | OV7630 OmniVision Technologies | Yes Yes No No |
437 | OV7660 OmniVision Technologies | No No Yes Yes | 440 | OV7660 OmniVision Technologies | No No Yes Yes |
438 | PAS106B PixArt Imaging | Yes No No No | 441 | PAS106B PixArt Imaging | Yes No No No |
@@ -478,13 +481,12 @@ scaling factor is restored to 1. | |||
478 | This driver supports two different video formats: the first one is the "8-bit | 481 | This driver supports two different video formats: the first one is the "8-bit |
479 | Sequential Bayer" format and can be used to obtain uncompressed video data | 482 | Sequential Bayer" format and can be used to obtain uncompressed video data |
480 | from the device through the current I/O method, while the second one provides | 483 | from the device through the current I/O method, while the second one provides |
481 | "raw" compressed video data (without frame headers not related to the | 484 | either "raw" compressed video data (without frame headers not related to the |
482 | compressed data). The compression quality may vary from 0 to 1 and can be | 485 | compressed data) or standard JPEG (with frame headers). The compression quality |
483 | selected or queried thanks to the VIDIOC_S_JPEGCOMP and VIDIOC_G_JPEGCOMP V4L2 | 486 | may vary from 0 to 1 and can be selected or queried thanks to the |
484 | ioctl's. For maximum flexibility, both the default active video format and the | 487 | VIDIOC_S_JPEGCOMP and VIDIOC_G_JPEGCOMP V4L2 ioctl's. For maximum flexibility, |
485 | default compression quality depend on how the image sensor being used is | 488 | both the default active video format and the default compression quality |
486 | initialized (as described in the documentation of the API for the image sensors | 489 | depend on how the image sensor being used is initialized. |
487 | supplied by this driver). | ||
488 | 490 | ||
489 | 491 | ||
490 | 11. Video frame formats [1] | 492 | 11. Video frame formats [1] |