Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45380
b: refs/heads/master
c: 81ebd49
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Garzik committed Jan 8, 2007
1 parent 5b66c25 commit 7d5be74
Show file tree
Hide file tree
Showing 240 changed files with 4,872 additions and 2,713 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3ffab87588234e41248d8cebd8cec88db605d3c
refs/heads/master: 81ebd4988892869260808286641a5400aafcb3d1
7 changes: 4 additions & 3 deletions trunk/CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,10 @@ S: Orlando, Florida
S: USA

N: Lennert Buytenhek
E: buytenh@gnu.org
D: Rewrite of the ethernet bridging code
S: Ravenhorst 58B
E: kernel@wantstofly.org
D: Original (2.4) rewrite of the ethernet bridging code
D: Various ARM bits and pieces
S: Ravenhorst 58
S: 2317 AK Leiden
S: The Netherlands

Expand Down
4 changes: 2 additions & 2 deletions trunk/Documentation/DocBook/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ installmandocs: mandocs

###
#External programs used
KERNELDOC = scripts/kernel-doc
DOCPROC = scripts/basic/docproc
KERNELDOC = $(srctree)/scripts/kernel-doc
DOCPROC = $(objtree)/scripts/basic/docproc

XMLTOFLAGS = -m $(srctree)/Documentation/DocBook/stylesheet.xsl
#XMLTOFLAGS += --skip-validation
Expand Down
30 changes: 29 additions & 1 deletion trunk/Documentation/arm/Samsung-S3C24XX/Overview.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ Machines
A S3C2410 based PDA from Acer. There is a Wiki page at
http://handhelds.org/moin/moin.cgi/AcerN30Documentation .

AML M5900

American Microsystems' M5900

Nex Vision Nexcoder
Nex Vision Otom

Two machines by Nex Vision


Adding New Machines
-------------------
Expand Down Expand Up @@ -115,6 +124,10 @@ RTC

Support for the onboard RTC unit, including alarm function.

This has recently been upgraded to use the new RTC core,
and the module has been renamed to rtc-s3c to fit in with
the new rtc naming scheme.


Watchdog
--------
Expand All @@ -128,7 +141,7 @@ NAND

The current kernels now have support for the s3c2410 NAND
controller. If there are any problems the latest linux-mtd
CVS can be found from http://www.linux-mtd.infradead.org/
code can be found from http://www.linux-mtd.infradead.org/


Serial
Expand Down Expand Up @@ -168,6 +181,21 @@ Suspend to RAM
See Suspend.txt for more information.


SPI
---

SPI drivers are available for both the in-built hardware
(although there is no DMA support yet) and a generic
GPIO based solution.


LEDs
----

There is support for GPIO based LEDs via a platform driver
in the LED subsystem.


Platform Data
-------------

Expand Down
17 changes: 17 additions & 0 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,23 @@ Who: Jean Delvare <khali@linux-fr.org>

---------------------------

What: i2c_adapter.dev
i2c_adapter.list
When: July 2007
Why: Superfluous, given i2c_adapter.class_dev:
* The "dev" was a stand-in for the physical device node that legacy
drivers would not have; but now it's almost always present. Any
remaining legacy drivers must upgrade (they now trigger warnings).
* The "list" duplicates class device children.
The delay in removing this is so upgraded lm_sensors and libsensors
can get deployed. (Removal causes minor changes in the sysfs layout,
notably the location of the adapter type name and parenting the i2c
client hardware directly from their controller.)
Who: Jean Delvare <khali@linux-fr.org>,
David Brownell <dbrownell@users.sourceforge.net>

---------------------------

What: IPv4 only connection tracking/NAT/helpers
When: 2.6.22
Why: The new layer 3 independant connection tracking replaces the old
Expand Down
4 changes: 2 additions & 2 deletions trunk/Documentation/filesystems/fuse.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ Mount options
filesystem is free to implement it's access policy or leave it to
the underlying file access mechanism (e.g. in case of network
filesystems). This option enables permission checking, restricting
access based on file mode. This is option is usually useful
together with the 'allow_other' mount option.
access based on file mode. It is usually useful together with the
'allow_other' mount option.

'allow_other'

Expand Down
111 changes: 101 additions & 10 deletions trunk/Documentation/tty.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,37 @@ Line Discipline Methods

TTY side interfaces:

open() - Called when the line discipline is attached to
the terminal. No other call into the line
discipline for this tty will occur until it
completes successfully. Can sleep.

close() - This is called on a terminal when the line
discipline is being unplugged. At the point of
execution no further users will enter the
ldisc code for this tty. Can sleep.

open() - Called when the line discipline is attached to
the terminal. No other call into the line
discipline for this tty will occur until it
completes successfully. Can sleep.
hangup() - Called when the tty line is hung up.
The line discipline should cease I/O to the tty.
No further calls into the ldisc code will occur.
Can sleep.

write() - A process is writing data through the line
discipline. Multiple write calls are serialized
by the tty layer for the ldisc. May sleep.

flush_buffer() - May be called at any point between open and close.
flush_buffer() - (optional) May be called at any point between
open and close, and instructs the line discipline
to empty its input buffer.

chars_in_buffer() - Report the number of bytes in the buffer.
chars_in_buffer() - (optional) Report the number of bytes in the input
buffer.

set_termios() - Called on termios structure changes. The caller
passes the old termios data and the current data
is in the tty. Called under the termios semaphore so
allowed to sleep. Serialized against itself only.
set_termios() - (optional) Called on termios structure changes.
The caller passes the old termios data and the
current data is in the tty. Called under the
termios semaphore so allowed to sleep. Serialized
against itself only.

read() - Move data from the line discipline to the user.
Multiple read calls may occur in parallel and the
Expand Down Expand Up @@ -92,6 +101,88 @@ write_wakeup() - May be called at any point between open and close.
this function. In such a situation defer it.


Driver Access

Line discipline methods can call the following methods of the underlying
hardware driver through the function pointers within the tty->driver
structure:

write() Write a block of characters to the tty device.
Returns the number of characters accepted.

put_char() Queues a character for writing to the tty device.
If there is no room in the queue, the character is
ignored.

flush_chars() (Optional) If defined, must be called after
queueing characters with put_char() in order to
start transmission.

write_room() Returns the numbers of characters the tty driver
will accept for queueing to be written.

ioctl() Invoke device specific ioctl.
Expects data pointers to refer to userspace.
Returns ENOIOCTLCMD for unrecognized ioctl numbers.

set_termios() Notify the tty driver that the device's termios
settings have changed. New settings are in
tty->termios. Previous settings should be passed in
the "old" argument.

throttle() Notify the tty driver that input buffers for the
line discipline are close to full, and it should
somehow signal that no more characters should be
sent to the tty.

unthrottle() Notify the tty driver that characters can now be
sent to the tty without fear of overrunning the
input buffers of the line disciplines.

stop() Ask the tty driver to stop outputting characters
to the tty device.

start() Ask the tty driver to resume sending characters
to the tty device.

hangup() Ask the tty driver to hang up the tty device.

break_ctl() (Optional) Ask the tty driver to turn on or off
BREAK status on the RS-232 port. If state is -1,
then the BREAK status should be turned on; if
state is 0, then BREAK should be turned off.
If this routine is not implemented, use ioctls
TIOCSBRK / TIOCCBRK instead.

wait_until_sent() Waits until the device has written out all of the
characters in its transmitter FIFO.

send_xchar() Send a high-priority XON/XOFF character to the device.


Flags

Line discipline methods have access to tty->flags field containing the
following interesting flags:

TTY_THROTTLED Driver input is throttled. The ldisc should call
tty->driver->unthrottle() in order to resume
reception when it is ready to process more data.

TTY_DO_WRITE_WAKEUP If set, causes the driver to call the ldisc's
write_wakeup() method in order to resume
transmission when it can accept more data
to transmit.

TTY_IO_ERROR If set, causes all subsequent userspace read/write
calls on the tty to fail, returning -EIO.

TTY_OTHER_CLOSED Device is a pty and the other side has closed.

TTY_NO_WRITE_SPLIT Prevent driver from splitting up writes into
smaller chunks.


Locking

Callers to the line discipline functions from the tty layer are required to
Expand Down
4 changes: 4 additions & 0 deletions trunk/Documentation/usb/acm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ Abstract Control Model (USB CDC ACM) specification.

3Com USR ISDN Pro TA

Some cell phones also connect via USB. I know the following phones work:

SonyEricsson K800i

Unfortunately many modems and most ISDN TAs use proprietary interfaces and
thus won't work with this drivers. Check for ACM compliance before buying.

Expand Down
Loading

0 comments on commit 7d5be74

Please sign in to comment.