From owner-svn-src-head@FreeBSD.ORG Sat Dec 8 22:16:40 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB8E9C9A; Sat, 8 Dec 2012 22:16:40 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 924BC8FC08; Sat, 8 Dec 2012 22:16:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB8MGeSZ028724; Sat, 8 Dec 2012 22:16:40 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB8MGaYB028698; Sat, 8 Dec 2012 22:16:36 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201212082216.qB8MGaYB028698@svn.freebsd.org> From: Eitan Adler Date: Sat, 8 Dec 2012 22:16:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r244040 - in head: release/picobsd/floppy.tree/etc/ppp release/picobsd/mfs_tree/etc sbin/comcontrol share/examples/ppp share/man/man4 share/man/man5 tools/debugscripts tools/test/ppsapi... X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 22:16:40 -0000 Author: eadler Date: Sat Dec 8 22:16:36 2012 New Revision: 244040 URL: http://svnweb.freebsd.org/changeset/base/244040 Log: A number of places in the source tree still reference cuad.* after sio(4) was deprecated by uart(4). s/cuad/cuau/g/ PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks Modified: head/release/picobsd/floppy.tree/etc/ppp/ppp.conf head/release/picobsd/mfs_tree/etc/remote head/sbin/comcontrol/comcontrol.8 head/share/examples/ppp/ppp.conf.sample head/share/examples/ppp/ppp.conf.span-isp head/share/man/man4/gdb.4 head/share/man/man4/mouse.4 head/share/man/man5/rc.conf.5 head/share/man/man5/remote.5 head/tools/debugscripts/dot.gdbinit head/tools/test/ppsapi/Makefile head/tools/test/ppsapi/README head/usr.bin/tip/tip/cu.1 head/usr.sbin/bluetooth/hcseriald/hcseriald.8 head/usr.sbin/bluetooth/hcseriald/hcseriald.c head/usr.sbin/moused/moused.8 head/usr.sbin/ppp/README.changes head/usr.sbin/ppp/defs.h head/usr.sbin/ppp/ppp.8.m4 Modified: head/release/picobsd/floppy.tree/etc/ppp/ppp.conf ============================================================================== --- head/release/picobsd/floppy.tree/etc/ppp/ppp.conf Sat Dec 8 21:03:14 2012 (r244039) +++ head/release/picobsd/floppy.tree/etc/ppp/ppp.conf Sat Dec 8 22:16:36 2012 (r244040) @@ -2,7 +2,7 @@ # PPP Sample Configuration File # Written by Toshiharu OHNO default: - set device /dev/cuad1 + set device /dev/cuau1 set speed 38400 disable lqr deny lqr Modified: head/release/picobsd/mfs_tree/etc/remote ============================================================================== --- head/release/picobsd/mfs_tree/etc/remote Sat Dec 8 21:03:14 2012 (r244039) +++ head/release/picobsd/mfs_tree/etc/remote Sat Dec 8 22:16:36 2012 (r244040) @@ -41,10 +41,10 @@ dos1200|1200 Baud dial-out to a DOS syst # Rackmount: U U D U D U D D U D # dial2400|2400 Baud Hayes attributes:\ - :dv=/dev/cuad0:br#2400:cu=/dev/cuad0:at=hayes:du: + :dv=/dev/cuau0:br#2400:cu=/dev/cuau0:at=hayes:du: dial1200|1200 Baud Hayes attributes:\ - :dv=/dev/cuad0:br#1200:cu=/dev/cuad0:at=hayes:du: + :dv=/dev/cuau0:br#1200:cu=/dev/cuau0:at=hayes:du: # Hardwired line -cuad0b|cua0b:dv=/dev/cuad0:br#2400 -cuad0c|cua0c:dv=/dev/cuad0:br#9600 +cuau0b|cua0b:dv=/dev/cuau0:br#2400 +cuau0c|cua0c:dv=/dev/cuau0:br#9600 Modified: head/sbin/comcontrol/comcontrol.8 ============================================================================== --- head/sbin/comcontrol/comcontrol.8 Sat Dec 8 21:03:14 2012 (r244039) +++ head/sbin/comcontrol/comcontrol.8 Sat Dec 8 22:16:36 2012 (r244040) @@ -49,7 +49,7 @@ startup script. .Bl -tag -width /dev/ttyd? -compact .It Pa /dev/ttyd? dialin devices, hardwired terminals -.It Pa /dev/cuad? +.It Pa /dev/cuau? dialout devices .El .Sh SEE ALSO Modified: head/share/examples/ppp/ppp.conf.sample ============================================================================== --- head/share/examples/ppp/ppp.conf.sample Sat Dec 8 21:03:14 2012 (r244039) +++ head/share/examples/ppp/ppp.conf.sample Sat Dec 8 22:16:36 2012 (r244040) @@ -29,7 +29,7 @@ # default: set log Phase Chat LCP IPCP CCP tun command - set device /dev/cuad1 + set device /dev/cuau1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \ OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" @@ -145,7 +145,7 @@ TA: set timeout 60 300 # The minimum charge period is 5 minutes, so don't # hangup before then - set device /dev/cuad0 # Or whatever + set device /dev/cuau0 # Or whatever set speed 115200 # Use as high a speed as possible enable dns # Ask the peer what to put in resolv.conf @@ -315,7 +315,7 @@ dodgy: dodgynet: set log Phase # Log link uptime allow mode auto # For autoconnect only - set device /dev/cuad1 # Define modem device and speed + set device /dev/cuau1 # Define modem device and speed set speed 115200 deny lqr # Don't support LQR set phone 0W1194 # Remote system phone number, @@ -472,7 +472,7 @@ radius-server: # direct-client: set dial - set device /dev/cuad0 + set device /dev/cuau0 set sp 115200 set timeout 900 set lqrperiod 10 @@ -651,7 +651,7 @@ callback-server: set cbcp set log +cbcp set redial 3 1 - set device /dev/cuad0 + set device /dev/cuau0 set speed 115200 set dial "TIMEOUT 10 \"\" AT OK-AT-OK ATDT\\T CONNECT" @@ -678,7 +678,7 @@ callback-server-client-decides: # mloop: load loop - set device /dev/cuad0 /dev/cuad1 /dev/cuad2 # Use any of these devices + set device /dev/cuau0 /dev/cuau1 /dev/cuau2 # Use any of these devices set mode interactive set mrru 1500 set mru 1504 # Room for the MP header Modified: head/share/examples/ppp/ppp.conf.span-isp ============================================================================== --- head/share/examples/ppp/ppp.conf.span-isp Sat Dec 8 21:03:14 2012 (r244039) +++ head/share/examples/ppp/ppp.conf.span-isp Sat Dec 8 22:16:36 2012 (r244040) @@ -104,7 +104,7 @@ default: set speed 115200 - set device /dev/cuad0 /dev/cuad1 /dev/cuad2 /dev/cuad3 + set device /dev/cuau0 /dev/cuau1 /dev/cuau2 /dev/cuau3 set dial "ABORT BUSY ABORT NO\\sCARRIER ABORT NO\\sDIAL\\sTONE TIMEOUT 4 \ \"\" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 60 CONNECT \\c \\n" set login Modified: head/share/man/man4/gdb.4 ============================================================================== --- head/share/man/man4/gdb.4 Sat Dec 8 21:03:14 2012 (r244039) +++ head/share/man/man4/gdb.4 Sat Dec 8 22:16:36 2012 (r244040) @@ -252,7 +252,7 @@ Finally, establish connection: GNU gdb 5.2.1 (FreeBSD) .Em "(political statements omitted)" Ready to go. Enter 'tr' to connect to the remote target -with /dev/cuad0, 'tr /dev/cuad1' to connect to a different port +with /dev/cuau0, 'tr /dev/cuau1' to connect to a different port or 'trf portno' to connect to the remote target with the firewire interface. portno defaults to 5556. @@ -370,10 +370,10 @@ instead. Debug a remote system via the specified serial or firewire interface. .It Ic tr0 Debug a remote system via serial interface -.Pa /dev/cuad0 . +.Pa /dev/cuau0 . .It Ic tr1 Debug a remote system via serial interface -.Pa /dev/cuad1 . +.Pa /dev/cuau1 . .It Ic trf Debug a remote system via firewire interface at default port 5556. .El Modified: head/share/man/man4/mouse.4 ============================================================================== --- head/share/man/man4/mouse.4 Sat Dec 8 21:03:14 2012 (r244039) +++ head/share/man/man4/mouse.4 Sat Dec 8 22:16:36 2012 (r244040) @@ -379,7 +379,7 @@ command. .El .Sh FILES .Bl -tag -width /dev/sysmouseXX -compact -.It Pa /dev/cuad%d +.It Pa /dev/cuau%d serial ports .It Pa /dev/mse%d bus and InPort mouse device Modified: head/share/man/man5/rc.conf.5 ============================================================================== --- head/share/man/man5/rc.conf.5 Sat Dec 8 21:03:14 2012 (r244039) +++ head/share/man/man5/rc.conf.5 Sat Dec 8 22:16:36 2012 (r244040) @@ -3324,7 +3324,7 @@ is set to .Dq Li YES , this is the actual port the mouse is on. It might be -.Pa /dev/cuad0 +.Pa /dev/cuau0 for a COM1 serial mouse, .Pa /dev/psm0 for a PS/2 mouse or Modified: head/share/man/man5/remote.5 ============================================================================== --- head/share/man/man5/remote.5 Sat Dec 8 21:03:14 2012 (r244039) +++ head/share/man/man5/remote.5 Sat Dec 8 22:16:36 2012 (r244040) @@ -194,7 +194,7 @@ the phone number for arpavax (in this ca is retrieved from the environment). .Bd -literal UNIX-57600:\e -:dv=/dev/cuad0:el=^D^U^C^S^Q^O@:oe=^D:du:at=hayes:br#115200:pa=none: +:dv=/dev/cuau0:el=^D^U^C^S^Q^O@:oe=^D:du:at=hayes:br#115200:pa=none: arpavax|ax:\e :pn=\e@:tc=UNIX-57600 .Ed Modified: head/tools/debugscripts/dot.gdbinit ============================================================================== --- head/tools/debugscripts/dot.gdbinit Sat Dec 8 21:03:14 2012 (r244039) +++ head/tools/debugscripts/dot.gdbinit Sat Dec 8 22:16:36 2012 (r244040) @@ -36,16 +36,16 @@ target remote $arg0 end document tr -Debug a remote system via serial or firewire interface. For example, specify 'tr /dev/cuad0' to use first serial port, or 'tr localhost:5556' for default firewire port. See also tr0, tr1 and trf commands. +Debug a remote system via serial or firewire interface. For example, specify 'tr /dev/cuau0' to use first serial port, or 'tr localhost:5556' for default firewire port. See also tr0, tr1 and trf commands. end # Convenience functions. These call tr. -# debug via cuad0 +# debug via cuau0 define tr0 -tr /dev/cuad0 +tr /dev/cuau0 end define tr1 -tr /dev/cuad1 +tr /dev/cuau1 end # Firewire define trf @@ -53,10 +53,10 @@ tr localhost:5556 end document tr0 -Debug a remote system via serial interface /dev/cuad0. See also tr, tr1 and trf commands. +Debug a remote system via serial interface /dev/cuau0. See also tr, tr1 and trf commands. end document tr1 -Debug a remote system via serial interface /dev/cuad1. See also tr, tr0 and trf commands. +Debug a remote system via serial interface /dev/cuau1. See also tr, tr0 and trf commands. end document trf Debug a remote system via firewire interface at default port 5556. See also tr, tr0 and tr1 commands. @@ -107,7 +107,7 @@ source gdbinit.kernel source gdbinit.machine echo Ready to go. Enter 'tr' to connect to the remote target\n -echo with /dev/cuad0, 'tr /dev/cuad1' to connect to a different port\n +echo with /dev/cuau0, 'tr /dev/cuau1' to connect to a different port\n echo or 'trf portno' to connect to the remote target with the firewire\n echo interface. portno defaults to 5556.\n echo \n Modified: head/tools/test/ppsapi/Makefile ============================================================================== --- head/tools/test/ppsapi/Makefile Sat Dec 8 21:03:14 2012 (r244039) +++ head/tools/test/ppsapi/Makefile Sat Dec 8 22:16:36 2012 (r244040) @@ -8,4 +8,4 @@ WARNS?= 5 .include test: ${PROG} - ./${PROG} /dev/cuad0 + ./${PROG} /dev/cuau0 Modified: head/tools/test/ppsapi/README ============================================================================== --- head/tools/test/ppsapi/README Sat Dec 8 21:03:14 2012 (r244039) +++ head/tools/test/ppsapi/README Sat Dec 8 22:16:36 2012 (r244040) @@ -16,7 +16,7 @@ Options: The output looks like: -# ./ppsapitest -C /dev/cuad4 +# ./ppsapitest -C /dev/cuau4 1070915603 .703680117 119 1070915940 .902275676 121 1070915941 .703657317 120 1070915941 .902327516 122 1070915942 .703657077 121 1070915942 .902367957 123 @@ -36,7 +36,7 @@ Columns: (If the -C option had not been specified, twice as many lines would be output: -# ./ppsapitest /dev/cuad4 +# ./ppsapitest /dev/cuau4 1070916432 .703624557 125 1070915945 .902527078 126 1070916432 .703624557 125 1070916432 .902303156 127 1070916433 .703624557 126 1070916432 .902303156 127 Modified: head/usr.bin/tip/tip/cu.1 ============================================================================== --- head/usr.bin/tip/tip/cu.1 Sat Dec 8 21:03:14 2012 (r244039) +++ head/usr.bin/tip/tip/cu.1 Sat Dec 8 22:16:36 2012 (r244040) @@ -69,9 +69,9 @@ Echo characters locally (half-duplex mod .It Fl l Ar line Specify the line to use. Either of the forms like -.Pa cuad0 +.Pa cuau0 or -.Pa /dev/cuad0 +.Pa /dev/cuau0 are permitted. .It Fl o Use odd parity. Modified: head/usr.sbin/bluetooth/hcseriald/hcseriald.8 ============================================================================== --- head/usr.sbin/bluetooth/hcseriald/hcseriald.8 Sat Dec 8 21:03:14 2012 (r244039) +++ head/usr.sbin/bluetooth/hcseriald/hcseriald.8 Sat Dec 8 22:16:36 2012 (r244040) @@ -54,7 +54,7 @@ Do not disassociate from the controlling .It Fl f Ar device Callout device name. Example: -.Fl f Pa /dev/cuad0 . +.Fl f Pa /dev/cuau0 . .It Fl h Display usage message and exit. .It Fl n Ar node_name Modified: head/usr.sbin/bluetooth/hcseriald/hcseriald.c ============================================================================== --- head/usr.sbin/bluetooth/hcseriald/hcseriald.c Sat Dec 8 21:03:14 2012 (r244039) +++ head/usr.sbin/bluetooth/hcseriald/hcseriald.c Sat Dec 8 22:16:36 2012 (r244040) @@ -257,7 +257,7 @@ usage(void) { fprintf(stderr, "Usage: %s -f device -n node_name [-s speed -d -h]\n" \ "Where:\n" \ - "\t-f device tty device name, ex. /dev/cuad1\n" \ + "\t-f device tty device name, ex. /dev/cuau1\n" \ "\t-n node_name set Netgraph node name to node_name\n" \ "\t-s speed set tty speed, ex. 115200\n" \ "\t-d run in foreground\n" \ Modified: head/usr.sbin/moused/moused.8 ============================================================================== --- head/usr.sbin/moused/moused.8 Sat Dec 8 21:03:14 2012 (r244039) +++ head/usr.sbin/moused/moused.8 Sat Dec 8 22:16:36 2012 (r244040) @@ -296,7 +296,7 @@ information are: .Bl -tag -compact -width modelxxx .It Ar port Port (device file) name, i.e.\& -.Pa /dev/cuad0 , +.Pa /dev/cuau0 , .Pa /dev/mse0 and .Pa /dev/psm0 . @@ -564,7 +564,7 @@ There may be more than one serial port t mouse can be attached. Many people often assign the first, built-in serial port -.Pa /dev/cuad0 +.Pa /dev/cuau0 to the mouse. You can attach multiple USB mice to your system or to your USB hub. They are accessible as @@ -731,16 +731,16 @@ utility UNIX-domain stream socket for X10 MouseRemote events .El .Sh EXAMPLES -.Dl "moused -p /dev/cuad0 -i type" +.Dl "moused -p /dev/cuau0 -i type" .Pp Let the .Nm utility determine the protocol type of the mouse at the serial port -.Pa /dev/cuad0 . +.Pa /dev/cuau0 . If successful, the command will print the type, otherwise it will say .Dq Li unknown . .Bd -literal -offset indent -moused -p /dev/cuad0 +moused -p /dev/cuau0 vidcontrol -m on .Ed .Pp Modified: head/usr.sbin/ppp/README.changes ============================================================================== --- head/usr.sbin/ppp/README.changes Sat Dec 8 21:03:14 2012 (r244039) +++ head/usr.sbin/ppp/README.changes Sat Dec 8 22:16:36 2012 (r244040) @@ -53,7 +53,7 @@ o Errors in `add' and `delete' are logge written to the TCP/IP log. o Any number of diagnostic prompts are allowed, and they are allowed in interactive mode. -o The default `device' is cuad1, then cuad0 +o The default `device' is cuau1, then cuau0 o A password of "*" in ppp.secret causes a passwd database lookup in pap mode. o The value of the CONNECT environment variable is logged in the Modified: head/usr.sbin/ppp/defs.h ============================================================================== --- head/usr.sbin/ppp/defs.h Sat Dec 8 21:03:14 2012 (r244039) +++ head/usr.sbin/ppp/defs.h Sat Dec 8 22:16:36 2012 (r244040) @@ -30,7 +30,7 @@ /* Check the following definitions for your machine environment */ #ifdef __FreeBSD__ -# define MODEM_LIST "/dev/cuad1\0/dev/cuad0" /* name of tty device */ +# define MODEM_LIST "/dev/cuau1\0/dev/cuau0" /* name of tty device */ #else # ifdef __OpenBSD__ # define MODEM_LIST "/dev/cua01\0/dev/cua00" /* name of tty device */ Modified: head/usr.sbin/ppp/ppp.8.m4 ============================================================================== --- head/usr.sbin/ppp/ppp.8.m4 Sat Dec 8 21:03:14 2012 (r244039) +++ head/usr.sbin/ppp/ppp.8.m4 Sat Dec 8 22:16:36 2012 (r244040) @@ -551,7 +551,7 @@ and have not authenticated yourself usin .Pp You can start by specifying the device name and speed: .Bd -literal -offset indent -ppp ON awfulhak> set device /dev/cuad0 +ppp ON awfulhak> set device /dev/cuau0 ppp ON awfulhak> set speed 38400 .Ed .Pp @@ -610,7 +610,7 @@ Name: deflink Phone Number: N/A Defaults: - Device List: /dev/cuad0 + Device List: /dev/cuau0 Characteristics: 38400bps, cs8, even parity, CTS/RTS on Connect time: 0 secs @@ -1216,10 +1216,10 @@ It is usually also necessary to train yo as the getty: .Bd -literal -offset indent # ppp -ppp ON awfulhak> set device /dev/cuad1 +ppp ON awfulhak> set device /dev/cuau1 ppp ON awfulhak> set speed 38400 ppp ON awfulhak> term -deflink: Entering terminal mode on /dev/cuad1 +deflink: Entering terminal mode on /dev/cuau1 Type `~?' for help at OK @@ -2164,7 +2164,7 @@ and .Dq set speed to specify your serial line and speed, for example: .Bd -literal -offset indent -set device /dev/cuad0 +set device /dev/cuau0 set speed 115200 .Ed .Pp @@ -2529,7 +2529,7 @@ Armed with this information, the followi mp: set timeout 0 set log phase chat - set device /dev/cuad0 /dev/cuad1 /dev/cuad2 + set device /dev/cuau0 /dev/cuau1 /dev/cuau2 set phone "123456789" set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\"\\" ATZ \e OK-AT-OK \\\\dATDT\\\\T TIMEOUT 45 CONNECT" @@ -2563,9 +2563,9 @@ line above, and specifying the following .Dq clone command: .Bd -literal -offset indent - link 1 set device /dev/cuad0 - link 2 set device /dev/cuad1 - link 3 set device /dev/cuad2 + link 1 set device /dev/cuau0 + link 2 set device /dev/cuau1 + link 3 set device /dev/cuau2 .Ed .Pp Use the @@ -4073,7 +4073,7 @@ The default link name is .Sq deflink . Renaming it to .Sq modem , -.Sq cuad0 +.Sq cuau0 or .Sq USR may make the log file more readable.