forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
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 git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/torvalds/linux-2.6
- Loading branch information
Showing
1,688 changed files
with
124,031 additions
and
65,940 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
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,84 @@ | ||
This document describes m[g]flash support in linux. | ||
|
||
Contents | ||
1. Overview | ||
2. Reserved area configuration | ||
3. Example of mflash platform driver registration | ||
|
||
1. Overview | ||
|
||
Mflash and gflash are embedded flash drive. The only difference is mflash is | ||
MCP(Multi Chip Package) device. These two device operate exactly same way. | ||
So the rest mflash repersents mflash and gflash altogether. | ||
|
||
Internally, mflash has nand flash and other hardware logics and supports | ||
2 different operation (ATA, IO) modes. ATA mode doesn't need any new | ||
driver and currently works well under standard IDE subsystem. Actually it's | ||
one chip SSD. IO mode is ATA-like custom mode for the host that doesn't have | ||
IDE interface. | ||
|
||
Followings are brief descriptions about IO mode. | ||
A. IO mode based on ATA protocol and uses some custom command. (read confirm, | ||
write confirm) | ||
B. IO mode uses SRAM bus interface. | ||
C. IO mode supports 4kB boot area, so host can boot from mflash. | ||
|
||
2. Reserved area configuration | ||
If host boot from mflash, usually needs raw area for boot loader image. All of | ||
the mflash's block device operation will be taken this value as start offset. | ||
Note that boot loader's size of reserved area and kernel configuration value | ||
must be same. | ||
|
||
3. Example of mflash platform driver registration | ||
Working mflash is very straight forward. Adding platform device stuff to board | ||
configuration file is all. Here is some pseudo example. | ||
|
||
static struct mg_drv_data mflash_drv_data = { | ||
/* If you want to polling driver set to 1 */ | ||
.use_polling = 0, | ||
/* device attribution */ | ||
.dev_attr = MG_BOOT_DEV | ||
}; | ||
|
||
static struct resource mg_mflash_rsc[] = { | ||
/* Base address of mflash */ | ||
[0] = { | ||
.start = 0x08000000, | ||
.end = 0x08000000 + SZ_64K - 1, | ||
.flags = IORESOURCE_MEM | ||
}, | ||
/* mflash interrupt pin */ | ||
[1] = { | ||
.start = IRQ_GPIO(84), | ||
.end = IRQ_GPIO(84), | ||
.flags = IORESOURCE_IRQ | ||
}, | ||
/* mflash reset pin */ | ||
[2] = { | ||
.start = 43, | ||
.end = 43, | ||
.name = MG_RST_PIN, | ||
.flags = IORESOURCE_IO | ||
}, | ||
/* mflash reset-out pin | ||
* If you use mflash as storage device (i.e. other than MG_BOOT_DEV), | ||
* should assign this */ | ||
[3] = { | ||
.start = 51, | ||
.end = 51, | ||
.name = MG_RSTOUT_PIN, | ||
.flags = IORESOURCE_IO | ||
} | ||
}; | ||
|
||
static struct platform_device mflash_dev = { | ||
.name = MG_DEV_NAME, | ||
.id = -1, | ||
.dev = { | ||
.platform_data = &mflash_drv_data, | ||
}, | ||
.num_resources = ARRAY_SIZE(mg_mflash_rsc), | ||
.resource = mg_mflash_rsc | ||
}; | ||
|
||
platform_device_register(&mflash_dev); |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
Maintained by Alan Cox <[email protected]> | ||
|
||
Last revised: 29 November 2006 | ||
Last revised: 6th April 2009 | ||
|
||
This list is the Linux Device List, the official registry of allocated | ||
device numbers and /dev directory nodes for the Linux operating | ||
|
@@ -2797,6 +2797,10 @@ Your cooperation is appreciated. | |
206 = /dev/ttySC1 SC26xx serial port 1 | ||
207 = /dev/ttySC2 SC26xx serial port 2 | ||
208 = /dev/ttySC3 SC26xx serial port 3 | ||
209 = /dev/ttyMAX0 MAX3100 serial port 0 | ||
210 = /dev/ttyMAX1 MAX3100 serial port 1 | ||
211 = /dev/ttyMAX2 MAX3100 serial port 2 | ||
212 = /dev/ttyMAX3 MAX3100 serial port 3 | ||
|
||
205 char Low-density serial ports (alternate device) | ||
0 = /dev/culu0 Callout device for ttyLU0 | ||
|
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 |
---|---|---|
|
@@ -59,15 +59,16 @@ Accepted options: | |
ypan Enable display panning using the VESA protected mode | ||
interface. The visible screen is just a window of the | ||
video memory, console scrolling is done by changing the | ||
start of the window. Available on x86 only. | ||
start of the window. This option is available on x86 | ||
only and is the default option on that architecture. | ||
|
||
ywrap Same as ypan, but assumes your gfx board can wrap-around | ||
the video memory (i.e. starts reading from top if it | ||
reaches the end of video memory). Faster than ypan. | ||
Available on x86 only. | ||
|
||
redraw Scroll by redrawing the affected part of the screen, this | ||
is the safe (and slow) default. | ||
is the default on non-x86. | ||
|
||
(If you're using uvesafb as a module, the above three options are | ||
used a parameter of the scroll option, e.g. scroll=ypan.) | ||
|
@@ -182,7 +183,7 @@ from the Video BIOS if you set pixclock to 0 in fb_var_screeninfo. | |
|
||
-- | ||
Michal Januszewski <[email protected]> | ||
Last updated: 2007-06-16 | ||
Last updated: 2009-03-30 | ||
|
||
Documentation of the uvesafb options is loosely based on vesafb.txt. | ||
|
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 |
---|---|---|
|
@@ -354,7 +354,8 @@ Who: Krzysztof Piotr Oledzki <[email protected]> | |
|
||
--------------------------- | ||
|
||
What: i2c_attach_client(), i2c_detach_client(), i2c_driver->detach_client() | ||
What: i2c_attach_client(), i2c_detach_client(), i2c_driver->detach_client(), | ||
i2c_adapter->client_register(), i2c_adapter->client_unregister | ||
When: 2.6.30 | ||
Check: i2c_attach_client i2c_detach_client | ||
Why: Deprecated by the new (standard) device driver binding model. Use | ||
|
@@ -427,3 +428,12 @@ Why: In 2.6.27, the semantics of /sys/bus/pci/slots was redefined to | |
After a reasonable transition period, we will remove the legacy | ||
fakephp interface. | ||
Who: Alex Chiang <[email protected]> | ||
|
||
--------------------------- | ||
|
||
What: i2c-voodoo3 driver | ||
When: October 2009 | ||
Why: Superseded by tdfxfb. I2C/DDC support used to live in a separate | ||
driver but this caused driver conflicts. | ||
Who: Jean Delvare <[email protected]> | ||
Krzysztof Helt <[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
Oops, something went wrong.