forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/…
…torvalds/linux-2.6
- Loading branch information
Showing
2,400 changed files
with
559,938 additions
and
49,536 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ Christoph Hellwig <[email protected]> | |
Corey Minyard <[email protected]> | ||
David Brownell <[email protected]> | ||
David Woodhouse <[email protected]> | ||
Dmitry Eremin-Solenikov <[email protected]> | ||
Domen Puncer <[email protected]> | ||
Douglas Gilbert <[email protected]> | ||
Ed L. Cashin <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -464,6 +464,11 @@ S: 1200 Goldenrod Dr. | |
S: Nampa, Idaho 83686 | ||
S: USA | ||
|
||
N: Dirk J. Brandewie | ||
E: [email protected] | ||
E: [email protected] | ||
D: Intel Wireless WiMAX Connection 2400 SDIO driver | ||
|
||
N: Derrick J. Brashear | ||
E: [email protected] | ||
W: http://www.dementia.org/~shadow | ||
|
@@ -1681,7 +1686,7 @@ E: [email protected] | |
D: fbdev hacking | ||
|
||
N: Jesper Juhl | ||
E: [email protected] | ||
E: [email protected] | ||
D: Various fixes, cleanups and minor features all over the tree. | ||
D: Wrote initial version of the hdaps driver (since passed on to others). | ||
S: Lemnosvej 1, 3.tv | ||
|
@@ -2119,6 +2124,11 @@ N: H.J. Lu | |
E: [email protected] | ||
D: GCC + libraries hacker | ||
|
||
N: Yanir Lubetkin | ||
E: [email protected] | ||
E: [email protected] | ||
D: Intel Wireless WiMAX Connection 2400 driver | ||
|
||
N: Michal Ludvig | ||
E: [email protected] | ||
E: [email protected] | ||
|
@@ -2693,6 +2703,13 @@ S: RR #5, 497 Pole Line Road | |
S: Thunder Bay, Ontario | ||
S: CANADA P7C 5M9 | ||
|
||
N: Inaky Perez-Gonzalez | ||
E: [email protected] | ||
E: [email protected] | ||
E: [email protected] | ||
D: WiMAX stack | ||
D: Intel Wireless WiMAX Connection 2400 driver | ||
|
||
N: Yuri Per | ||
E: [email protected] | ||
D: Some smbfs fixes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ Description: | |
internal state of the kernel memory blocks. Files could be | ||
added or removed dynamically to represent hot-add/remove | ||
operations. | ||
|
||
Users: hotplug memory add/remove tools | ||
https://w3.opensource.ibm.com/projects/powerpc-utils/ | ||
|
||
|
@@ -19,6 +18,56 @@ Description: | |
This is useful for a user-level agent to determine | ||
identify removable sections of the memory before attempting | ||
potentially expensive hot-remove memory operation | ||
Users: hotplug memory remove tools | ||
https://w3.opensource.ibm.com/projects/powerpc-utils/ | ||
|
||
What: /sys/devices/system/memory/memoryX/phys_device | ||
Date: September 2008 | ||
Contact: Badari Pulavarty <[email protected]> | ||
Description: | ||
The file /sys/devices/system/memory/memoryX/phys_device | ||
is read-only and is designed to show the name of physical | ||
memory device. Implementation is currently incomplete. | ||
|
||
What: /sys/devices/system/memory/memoryX/phys_index | ||
Date: September 2008 | ||
Contact: Badari Pulavarty <[email protected]> | ||
Description: | ||
The file /sys/devices/system/memory/memoryX/phys_index | ||
is read-only and contains the section ID in hexadecimal | ||
which is equivalent to decimal X contained in the | ||
memory section directory name. | ||
|
||
What: /sys/devices/system/memory/memoryX/state | ||
Date: September 2008 | ||
Contact: Badari Pulavarty <[email protected]> | ||
Description: | ||
The file /sys/devices/system/memory/memoryX/state | ||
is read-write. When read, it's contents show the | ||
online/offline state of the memory section. When written, | ||
root can toggle the the online/offline state of a removable | ||
memory section (see removable file description above) | ||
using the following commands. | ||
# echo online > /sys/devices/system/memory/memoryX/state | ||
# echo offline > /sys/devices/system/memory/memoryX/state | ||
|
||
For example, if /sys/devices/system/memory/memory22/removable | ||
contains a value of 1 and | ||
/sys/devices/system/memory/memory22/state contains the | ||
string "online" the following command can be executed by | ||
by root to offline that section. | ||
# echo offline > /sys/devices/system/memory/memory22/state | ||
Users: hotplug memory remove tools | ||
https://w3.opensource.ibm.com/projects/powerpc-utils/ | ||
|
||
What: /sys/devices/system/node/nodeX/memoryY | ||
Date: September 2008 | ||
Contact: Gary Hade <[email protected]> | ||
Description: | ||
When CONFIG_NUMA is enabled | ||
/sys/devices/system/node/nodeX/memoryY is a symbolic link that | ||
points to the corresponding /sys/devices/system/memory/memoryY | ||
memory section directory. For example, the following symbolic | ||
link is created for memory section 9 on node0. | ||
/sys/devices/system/node/node0/memory9 -> ../../memory/memory9 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/* | ||
* File: Documentation/blackfin/bfin-gpio-note.txt | ||
* Based on: | ||
* Author: | ||
* | ||
* Created: $Id: bfin-gpio-note.txt 2008-11-24 16:42 grafyang $ | ||
* Description: This file contains the notes in developing/using bfin-gpio. | ||
* | ||
* | ||
* Rev: | ||
* | ||
* Modified: | ||
* Copyright 2004-2008 Analog Devices Inc. | ||
* | ||
* Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
* | ||
*/ | ||
|
||
|
||
1. Blackfin GPIO introduction | ||
|
||
There are many GPIO pins on Blackfin. Most of these pins are muxed to | ||
multi-functions. They can be configured as peripheral, or just as GPIO, | ||
configured to input with interrupt enabled, or output. | ||
|
||
For detailed information, please see "arch/blackfin/kernel/bfin_gpio.c", | ||
or the relevant HRM. | ||
|
||
|
||
2. Avoiding resource conflict | ||
|
||
Followed function groups are used to avoiding resource conflict, | ||
- Use the pin as peripheral, | ||
int peripheral_request(unsigned short per, const char *label); | ||
int peripheral_request_list(const unsigned short per[], const char *label); | ||
void peripheral_free(unsigned short per); | ||
void peripheral_free_list(const unsigned short per[]); | ||
- Use the pin as GPIO, | ||
int bfin_gpio_request(unsigned gpio, const char *label); | ||
void bfin_gpio_free(unsigned gpio); | ||
- Use the pin as GPIO interrupt, | ||
int bfin_gpio_irq_request(unsigned gpio, const char *label); | ||
void bfin_gpio_irq_free(unsigned gpio); | ||
|
||
The request functions will record the function state for a certain pin, | ||
the free functions will clear it's function state. | ||
Once a pin is requested, it can't be requested again before it is freed by | ||
previous caller, otherwise kernel will dump stacks, and the request | ||
function fail. | ||
These functions are wrapped by other functions, most of the users need not | ||
care. | ||
|
||
|
||
3. But there are some exceptions | ||
- Kernel permit the identical GPIO be requested both as GPIO and GPIO | ||
interrut. | ||
Some drivers, like gpio-keys, need this behavior. Kernel only print out | ||
warning messages like, | ||
bfin-gpio: GPIO 24 is already reserved by gpio-keys: BTN0, and you are | ||
configuring it as IRQ! | ||
|
||
Note: Consider the case that, if there are two drivers need the | ||
identical GPIO, one of them use it as GPIO, the other use it as | ||
GPIO interrupt. This will really cause resource conflict. So if | ||
there is any abnormal driver behavior, please check the bfin-gpio | ||
warning messages. | ||
|
||
- Kernel permit the identical GPIO be requested from the same driver twice. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.