misc/73880: [PATCH] tools: catch up with cuaa* rename to cuad*

Steve Kargl sgk at troutmask.apl.washington.edu
Fri Nov 12 10:20:22 PST 2004


>Number:         73880
>Category:       misc
>Synopsis:       [PATCH] tools: catch up with cuaa* rename to cuad*
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 12 18:20:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Steve Kargl
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
APL/UW
>Environment:
System: FreeBSD troutmask.apl.washington.edu 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Apr 22 14:44:25 PDT 2004 kargl at troutmask.apl.washington.edu:/usr/obj/usr/src/sys/TROUTMASK i386


	
>Description:

For /usr/src/UPDATING:

20041018:
        A major sweep over the tty drivers to elimnate approx 3100
        lines of copy&pasted code have been performed.  As a part of
        this change some tty devices have changed names:
        sio devices are now named:      {tty,cua}d%d[.init,.lock]
        ucom devices are now named:     {tty,cua}U%d[.init,.lock]
        For other drivers see the commit logs.



>How-To-Repeat:
	
>Fix:


diff -ur tools.orig/debugscripts/dot.gdbinit tools/debugscripts/dot.gdbinit
--- tools.orig/debugscripts/dot.gdbinit	Thu Nov 11 21:05:45 2004
+++ tools/debugscripts/dot.gdbinit	Fri Nov 12 10:13:28 2004
@@ -37,16 +37,16 @@
 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 @@
 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.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
diff -ur tools.orig/test/ppsapi/Makefile tools/test/ppsapi/Makefile
--- tools.orig/test/ppsapi/Makefile	Thu Nov 11 21:05:52 2004
+++ tools/test/ppsapi/Makefile	Fri Nov 12 10:14:25 2004
@@ -8,4 +8,4 @@
 .include <bsd.prog.mk>
 
 test:	${PROG}
-	./${PROG} /dev/cuaa0
+	./${PROG} /dev/cuad0
diff -ur tools.orig/test/ppsapi/README tools/test/ppsapi/README
--- tools.orig/test/ppsapi/README	Mon Dec  8 12:49:40 2003
+++ tools/test/ppsapi/README	Fri Nov 12 10:14:18 2004
@@ -16,7 +16,7 @@
 
 The output looks like:
 
-# ./ppsapitest -C /dev/cuaa4
+# ./ppsapitest -C /dev/cuad4
 1070915603 .703680117 119 1070915940 .902275676 121
 1070915941 .703657317 120 1070915941 .902327516 122
 1070915942 .703657077 121 1070915942 .902367957 123
@@ -36,7 +36,7 @@
 (If the -C option had not been specified, twice as many lines would
 be output:
 
-# ./ppsapitest /dev/cuaa4
+# ./ppsapitest /dev/cuad4
 1070916432 .703624557 125 1070915945 .902527078 126
 1070916432 .703624557 125 1070916432 .902303156 127
 1070916433 .703624557 126 1070916432 .902303156 127

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list