Re: enable cy(4) by default on amd64

2019-05-13 Thread Theo de Raadt
Does this driver correctly support cua(4) device nodes?

If it doesn't, then my position would be "no, that is a minimum required
featureset".  And 'd' dialout support isn't the same, it must be cua.
(Quirky different behaviours between tty devices are super annoying and
end up as complaints on the mailing list, so a tty driver MUST support
cua(4) correctly).

A quick review of the driver indicates: No cua support.

Frankly, it's the kind of driver that needs the work, or a visit to the Attic...

Want to try fixing it?  It is not trivial..

>I use tree cy(4) cards on amd64 for several releases.  Its totally
>stable and works fine beside known bugs already mentioned in the
>manpage.  Thus, I would prefer to enabled it by default in amd64 as it
>is in i386.
>
>Bye,
>Jan
>
>Index: arch/amd64/conf/GENERIC
>===
>RCS file: /cvs/src/sys/arch/amd64/conf/GENERIC,v
>retrieving revision 1.471
>diff -u -p -r1.471 GENERIC
>--- arch/amd64/conf/GENERIC8 May 2019 23:54:39 -   1.471
>+++ arch/amd64/conf/GENERIC13 May 2019 05:13:47 -
>@@ -382,7 +382,7 @@ com*   at pcmcia?  # PCMCIA 
>modems/serial
> com*  at puc?
> 
> # options CY_HW_RTS
>-#cy*  at pci? # PCI cyclom serial card
>+cy*   at pci? # PCI cyclom serial card
> #cz*  at pci? # Cyclades-Z multi-port serial boards
> 
> lpt0  at isa? port 0x378 irq 7# standard PC parallel ports
>
>



enable cy(4) by default on amd64

2019-05-12 Thread Jan Klemkow
Hi,

I use tree cy(4) cards on amd64 for several releases.  Its totally
stable and works fine beside known bugs already mentioned in the
manpage.  Thus, I would prefer to enabled it by default in amd64 as it
is in i386.

Bye,
Jan

Index: arch/amd64/conf/GENERIC
===
RCS file: /cvs/src/sys/arch/amd64/conf/GENERIC,v
retrieving revision 1.471
diff -u -p -r1.471 GENERIC
--- arch/amd64/conf/GENERIC 8 May 2019 23:54:39 -   1.471
+++ arch/amd64/conf/GENERIC 13 May 2019 05:13:47 -
@@ -382,7 +382,7 @@ com*at pcmcia?  # PCMCIA 
modems/serial
 com*   at puc?
 
 # options CY_HW_RTS
-#cy*   at pci? # PCI cyclom serial card
+cy*at pci? # PCI cyclom serial card
 #cz*   at pci? # Cyclades-Z multi-port serial boards
 
 lpt0   at isa? port 0x378 irq 7# standard PC parallel ports