~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/arch/arm/sa1100/serial_uart.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php