From 98601953890f2c4381eda07f2914bfc1f8b114ec Mon Sep 17 00:00:00 2001 From: eadler Date: Sat, 8 Dec 2012 22:16:36 +0000 Subject: 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 --- usr.sbin/ppp/README.changes | 2 +- usr.sbin/ppp/defs.h | 2 +- usr.sbin/ppp/ppp.8.m4 | 20 ++++++++++---------- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'usr.sbin/ppp') diff --git a/usr.sbin/ppp/README.changes b/usr.sbin/ppp/README.changes index bf626e3..4ed3da6 100644 --- a/usr.sbin/ppp/README.changes +++ b/usr.sbin/ppp/README.changes @@ -53,7 +53,7 @@ o Errors in `add' and `delete' are logged as warnings rather than being 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 diff --git a/usr.sbin/ppp/defs.h b/usr.sbin/ppp/defs.h index f56ee32..d7cc799 100644 --- a/usr.sbin/ppp/defs.h +++ b/usr.sbin/ppp/defs.h @@ -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 */ diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4 index 7d3f6d2..91b9c51 100644 --- a/usr.sbin/ppp/ppp.8.m4 +++ b/usr.sbin/ppp/ppp.8.m4 @@ -551,7 +551,7 @@ and have not authenticated yourself using the correct password. .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 your modem to the same DTR speed 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 following configuration might be used: 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 after the .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. -- cgit v1.1