Magellan Linux

Contents of /alx-src/trunk/kernel26-alx/linux/Documentation/arm/SA1100/serial_UART

Parent Directory Parent Directory | Revision Log Revision Log


Revision 628 - (show annotations) (download)
Wed Mar 4 10:48:58 2009 UTC (15 years, 2 months ago) by niro
File size: 1859 byte(s)
import linux sources based on 2.6.12-alx-r9:
 -using linux-2.6.12.6
 -using 2.6.12-ck6 patch set
 -using fbsplash-0.9.2-r3
 -using vesafb-tng-0.9-rc7
 -using squashfs-2.2
 -added cddvd-cmdfilter-drop.patch as ck dropped it
 -added via-epia-dri (cle266) patch
 -added zd1211-svn-32 wlan driver (http://zd1211.ath.cx/download/)
 -added debian patches to zd1211 for wep256 etc

1 The SA1100 serial port had its major/minor numbers officially assigned:
2
3 > Date: Sun, 24 Sep 2000 21:40:27 -0700
4 > From: H. Peter Anvin <hpa@transmeta.com>
5 > To: Nicolas Pitre <nico@CAM.ORG>
6 > Cc: Device List Maintainer <device@lanana.org>
7 > Subject: Re: device
8 >
9 > Okay. Note that device numbers 204 and 205 are used for "low density
10 > serial devices", so you will have a range of minors on those majors (the
11 > tty device layer handles this just fine, so you don't have to worry about
12 > doing anything special.)
13 >
14 > So your assignments are:
15 >
16 > 204 char Low-density serial ports
17 > 5 = /dev/ttySA0 SA1100 builtin serial port 0
18 > 6 = /dev/ttySA1 SA1100 builtin serial port 1
19 > 7 = /dev/ttySA2 SA1100 builtin serial port 2
20 >
21 > 205 char Low-density serial ports (alternate device)
22 > 5 = /dev/cusa0 Callout device for ttySA0
23 > 6 = /dev/cusa1 Callout device for ttySA1
24 > 7 = /dev/cusa2 Callout device for ttySA2
25 >
26
27 If you're not using devfs, you must create those inodes in /dev
28 on the root filesystem used by your SA1100-based device:
29
30 mknod ttySA0 c 204 5
31 mknod ttySA1 c 204 6
32 mknod ttySA2 c 204 7
33 mknod cusa0 c 205 5
34 mknod cusa1 c 205 6
35 mknod cusa2 c 205 7
36
37 In addition to the creation of the appropriate device nodes above, you
38 must ensure your user space applications make use of the correct device
39 name. The classic example is the content of the /etc/inittab file where
40 you might have a getty process started on ttyS0. In this case:
41
42 - replace occurrences of ttyS0 with ttySA0, ttyS1 with ttySA1, etc.
43
44 - don't forget to add 'ttySA0', 'console', or the appropriate tty name
45 in /etc/securetty for root to be allowed to login as well.
46
47