1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00

Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].

This commit is contained in:
David E. O'Brien 2004-11-19 03:51:12 +00:00
parent 9a1c2d0bf9
commit 6949461a18
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137882
7 changed files with 23 additions and 21 deletions

View File

@ -13,7 +13,7 @@ default:
ident user-ppp VERSION (built COMPILATIONDATE)
# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
# for your modem. (cuad0 = COM1, cuad1 = COM2)
#
set device /dev/cuaa1

View File

@ -1,7 +1,8 @@
# $FreeBSD$
# PPP Sample Configuration File
# Written by Toshiharu OHNO
default:
set device /dev/cuaa1
set device /dev/cuad1
set speed 38400
disable lqr
deny lqr

View File

@ -41,10 +41,10 @@ dos1200|1200 Baud dial-out to a DOS system:\
# Rackmount: U U D U D U D D U D
#
dial2400|2400 Baud Hayes attributes:\
:dv=/dev/cuaa0:br#2400:cu=/dev/cuaa0:at=hayes:du:
:dv=/dev/cuad0:br#2400:cu=/dev/cuad0:at=hayes:du:
dial1200|1200 Baud Hayes attributes:\
:dv=/dev/cuaa0:br#1200:cu=/dev/cuaa0:at=hayes:du:
:dv=/dev/cuad0:br#1200:cu=/dev/cuad0:at=hayes:du:
# Hardwired line
cuaa0b|cua0b:dv=/dev/cuaa0:br#2400
cuaa0c|cua0c:dv=/dev/cuaa0:br#9600
cuad0b|cua0b:dv=/dev/cuad0:br#2400
cuad0c|cua0c:dv=/dev/cuad0:br#9600

View File

@ -29,7 +29,7 @@
#
default:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cuaa1
set device /dev/cuad1
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/cuaa0 # Or whatever
set device /dev/cuad0 # 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/cuaa1 # Define modem device and speed
set device /dev/cuad1 # 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/cuaa0
set device /dev/cuad0
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/cuaa0
set device /dev/cuad0
set speed 115200
set dial "TIMEOUT 10 \"\" AT OK-AT-OK ATDT\\T CONNECT"
@ -680,7 +680,7 @@ callback-server-client-decides:
#
mloop:
load loop
set device /dev/cuaa0 /dev/cuaa1 /dev/cuaa2 # Use any of these devices
set device /dev/cuad0 /dev/cuad1 /dev/cuad2 # Use any of these devices
set mode interactive
set mrru 1500
set mru 1504 # Room for the MP header

View File

@ -104,7 +104,7 @@
default:
set speed 115200
set device /dev/cuaa0 /dev/cuaa1 /dev/cuaa2 /dev/cuaa3
set device /dev/cuad0 /dev/cuad1 /dev/cuad2 /dev/cuad3
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

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $FreeBSD$
startslip -b 57600 -U ./slup.sh -D ./sldown.sh \
-s atd<phone1> -s atd<phone2> -s atd<phone3> \
-h -t 60 -w 2 -W 20 /dev/cuaa1 <login> <password>
-h -t 60 -w 2 -W 20 /dev/cuad1 <login> <password>

View File

@ -37,16 +37,16 @@ target remote $arg0
end
document tr
Debug a remote system via serial or firewire interface. For example, specify 'tr /dev/cuaa0' 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/cuad0' 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 cuaa0
# debug via cuad0
define tr0
tr /dev/cuaa0
tr /dev/cuad0
end
define tr1
tr /dev/cuaa1
tr /dev/cuad1
end
# Firewire
define trf
@ -54,10 +54,10 @@ tr localhost:5556
end
document tr0
Debug a remote system via serial interface /dev/cuaa0. See also tr, tr1 and trf commands.
Debug a remote system via serial interface /dev/cuad0. See also tr, tr1 and trf commands.
end
document tr1
Debug a remote system via serial interface /dev/cuaa1. See also tr, tr0 and trf commands.
Debug a remote system via serial interface /dev/cuad1. 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.
@ -108,7 +108,7 @@ source gdbinit.kernel
source gdbinit.machine
echo Ready to go. Enter 'tr' to connect to the remote target\n
echo with /dev/cuaa0, 'tr /dev/cuaa1' to connect to a different port\n
echo with /dev/cuad0, 'tr /dev/cuad1' 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