Re: CVS commit: src/etc/etc.next68k

2017-07-07 Thread Izumi Tsutsui
> | The PR says:
> | > This information should be fixed to reflect reality, or 
> etc/etc.next68k/MAKEDEV.conf should build tty[ab] as done on e.g. sparc.
> | 
> | What makes you choose the latter?
> 
> That every arch except alpha uses ttya and ttyb for zstty?

In which file? zs(4) man page?

---
Izumi Tsutsui


Re: CVS commit: src/etc/etc.next68k

2017-07-07 Thread Izumi Tsutsui
The PR says:
> This information should be fixed to reflect reality, or 
> etc/etc.next68k/MAKEDEV.conf should build tty[ab] as done on e.g. sparc.

What makes you choose the latter?

---
Izumi Tsutsui


Re: CVS commit: src/etc/etc.next68k

2017-07-07 Thread Christos Zoulas
On Jul 8, 11:41am, tsut...@ceres.dti.ne.jp (Izumi Tsutsui) wrote:
-- Subject: Re: CVS commit: src/etc/etc.next68k

| The PR says:
| > This information should be fixed to reflect reality, or 
etc/etc.next68k/MAKEDEV.conf should build tty[ab] as done on e.g. sparc.
| 
| What makes you choose the latter?

That every arch except alpha uses ttya and ttyb for zstty?

christos


Re: CVS commit: src/etc/etc.next68k

2017-07-07 Thread Christos Zoulas
On Jul 8, 11:31am, tsut...@ceres.dti.ne.jp (Izumi Tsutsui) wrote:
-- Subject: Re: CVS commit: src/etc/etc.next68k

| IMO man page should be updated to mention "ttyZ[01]",
| as MI src/etc/MAKEDEV.tmpl does.
| 
| tty[ab] were derived from sun3 and sparc, which followed SunOS ones.
| 
| Other ports used tty0[01] etc. but IIRC it caused conflicts with tty0?
| of com(4) on ports which has both zs(4) and com(4) when MI MAKEDEV.tmpl
| was introduced.  Then there was discussion to use ttyC? for com(4) and
| ttyZ? for zs(4) if there was no histrical restrictions.

Feel free to change it the way you feel is best.

christos


Re: CVS commit: src/etc/etc.next68k

2017-07-07 Thread Izumi Tsutsui
> Module Name:  src
> Committed By: christos
> Date: Fri Jul  7 23:48:34 UTC 2017
> 
> Modified Files:
>   src/etc/etc.next68k: MAKEDEV.conf
> 
> Log Message:
> PR/52377: Miod Vallat: Provide links to ttya and ttyb as mentioned in zs(4)

IMO man page should be updated to mention "ttyZ[01]",
as MI src/etc/MAKEDEV.tmpl does.

tty[ab] were derived from sun3 and sparc, which followed SunOS ones.

Other ports used tty0[01] etc. but IIRC it caused conflicts with tty0?
of com(4) on ports which has both zs(4) and com(4) when MI MAKEDEV.tmpl
was introduced.  Then there was discussion to use ttyC? for com(4) and
ttyZ? for zs(4) if there was no histrical restrictions.

---
Izumi Tsutsui


Re: CVS commit: src/sys

2017-07-07 Thread Christos Zoulas
In article <20170708005437.abfb1f...@cvs.netbsd.org>,
Jared D. McNeill  wrote:
>-=-=-=-=-=-
>
>Module Name:   src
>Committed By:  jmcneill
>Date:  Sat Jul  8 00:54:37 UTC 2017
>
>Modified Files:
>   src/sys/conf: files
>Added Files:
>   src/sys/dev: led.c led.h
>
>Log Message:
>Add a helper for exposing LED controls via sysctl.

(unsigned char) for isfoo?

christos