head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.50 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.48 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.46 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.44 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.42 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.40 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.38 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.36 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.34 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.32 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.30 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.28 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.26 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.24 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.22 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.20 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.18 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.16 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.14 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.12 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.10 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.8 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.6 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.4 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.1.0.54 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.50 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.48 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.46 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.44 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.42 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.40 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.38 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.36 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.34 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.30 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.28 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.26 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.24 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.22 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.20 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.18 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.16 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.14 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.12 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.10 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.8 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.6 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.4 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.2 pkgsrc-2013Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2020.03.04.07.52.11; author rin; state Exp; branches; next 1.1; commitid GxiqMbR4YoN2A3ZB; 1.1 date 2013.11.02.22.43.29; author christos; state Exp; branches; next ; commitid y3dh2DMm2BblTKbx; desc @@ 1.2 log @Add tap(4) support for *BSD, written by kiyohara@@. 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. @ text @$NetBSD$ 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/sun4u/SUN-ULTRA-1.orig 2020-03-04 16:33:49.000549753 +0900 +++ machine/sun4u/SUN-ULTRA-1 2020-03-04 16:34:00.445732638 +0900 @@@@ -47,14 +47,14 @@@@ ## ttya: ## -# comment the first line, and uncomment the following line if you -# aren't using the GTK-based display console. 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): +# 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, which you can connect to using tip or some other serial +# communications program on the slave (in this case, a pty allocated +# automatically): # sink1 at zs0 channel A: tme/serial/sink -#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 ## the SBus esp SCSI: ## @@@@ -72,6 +72,7 @@@@ ledma0 at sbus0 slot 14 offset 0x8c00000 le0 at ledma0 master: tme/ic/am7990 #bpf0 at le0: tme/host/bsd/bpf +#tap0 at le0: tme/host/bsd/tap ## the SBus parallel port: ## @ 1.1 log @If the device for the serial console is given as "pty" allocate one automatically, and tell the user what got allocated. @ text @d3 3 d8 2 a9 2 --- machine/sun4u/SUN-ULTRA-1 2010-06-05 15:30:55.000000000 -0400 +++ machine/sun4u/SUN-ULTRA-1 2013-11-02 18:30:24.000000000 -0400 d31 8 @