673b94a8c3
The patch was proposed on some mailing lists back in 2013, but unfortunately, left uncommitted until today: https://mail-index.netbsd.org/port-sparc64/2013/01/29/msg001951.html It works perfectly for me on NetBSD/amd64 for sun[23]. Bump revision.
33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
$NetBSD: patch-machine_sun2_SUN2-MULTIBUS,v 1.2 2020/03/04 07:52:11 rin Exp $
|
|
|
|
Add tap(4) support for *BSD by kiyohara@:
|
|
https://mail-index.netbsd.org/port-sparc64/2013/01/29/msg001951.html
|
|
|
|
Make it use auto-allocated ptys
|
|
|
|
--- machine/sun2/SUN2-MULTIBUS.orig 2020-03-04 16:33:49.000504677 +0900
|
|
+++ machine/sun2/SUN2-MULTIBUS 2020-03-04 16:34:00.445473134 +0900
|
|
@@ -39,6 +39,7 @@
|
|
#
|
|
#ec0 at mbmem0 addr 0xe0000 ipl 3: tme/bus/multibus/3c400 ether "00:01:02:03:04:05"
|
|
#bpf0 at ec0: tme/host/bsd/bpf
|
|
+#tap0 at ec0: tme/host/bsd/tap
|
|
|
|
## the Sun Intel Ethernet Multibus board:
|
|
##
|
|
@@ -73,11 +74,11 @@
|
|
##
|
|
# uncomment the following line if you aren't using the GTK-based
|
|
# display console above. this will connect ttya to the master side of
|
|
-# a pseudo-tty (in this case, /dev/ttyr0), which you can connect to
|
|
-# using tip or some other serial communications program on the slave
|
|
-# side (in this case, /dev/ptyr0):
|
|
+# a pseudo-tty, which you can connect to using tip or some other serial
|
|
+# communications program on the slave (in this case, a pty allocated
|
|
+# automatically):
|
|
#
|
|
-#console0 at zs0 channel A: tme/host/posix/serial device /dev/ttyr0 break-carats
|
|
+#console0 at zs0 channel A: tme/host/posix/serial device pty
|
|
|
|
## a SCSI disk:
|
|
##
|