Subject: port-alpha/10281: 1.4.2A alpha/alpha/conf.c does not contain "cy"
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mochid@netside.co.jp>
List: netbsd-bugs
Date: 06/05/2000 00:06:11
>Number:         10281
>Category:       port-alpha
>Synopsis:       1.4.2A alpha/alpha/conf.c does not contain "cy"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 05 00:07:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     MOCHIDA Shuji
>Release:        NetBSD 1.4.2A alpha (2000 Jun 2)
>Organization:
personal
>Environment:
NetBSD cedar 1.4.2A NetBSD 1.4.2A (GENERIC) #1: Sat Jun 3 16:49:07 JST 2000 mochid@cedar:/amd/beech/usr2/home/beech/mochid/work/NetBSD/release/cvswork/syssrc/sys/arch/alpha/compile/GENERIC alpha

>Description:
alpha/conf/GENERIC contains

cy*     at      pci? dev ? function ?           # Cyclades Cyclom-Y (untested)

but alpha/alpha/conf.c does not contain lines for "cy".

>How-To-Repeat:
Use it with Cyclades Cyclom-Y series card.


>Fix:

--- ../bak/arch/alpha/alpha/conf.c	Fri Jun  2 22:41:35 2000
+++ syssrc/sys/arch/alpha/alpha/conf.c	Sat Jun  3 16:48:38 2000
@@ -161,6 +161,9 @@
 #include "scc.h"
 #include "zstty.h"
 
+#include "cy.h"
+cdev_decl(cy);
+
 #include "se.h"
 #include "rnd.h"
 
@@ -313,7 +316,11 @@
 	cdev_notdef(),			/* 54 */
 	cdev_notdef(),			/* 55 */
 #endif
-	
+	cdev_notdef(),			/* 56 */
+	cdev_notdef(),			/* 57 */
+	cdev_notdef(),			/* 58 */
+	cdev_notdef(),			/* 59 */
+	cdev_tty_init(NCY,cy),		/* 60: Cyclades Cyclom-Y serial */
 };
 int	nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);
 
@@ -406,6 +413,16 @@
 	/* 48 */	NODEV,
 	/* 49 */	NODEV,
 	/* 50 */	NODEV,
+	/* 51 */	NODEV,
+	/* 52 */	NODEV,
+	/* 53 */	NODEV,
+	/* 54 */	NODEV,
+	/* 55 */	NODEV,
+	/* 56 */	NODEV,
+	/* 57 */	NODEV,
+	/* 58 */	NODEV,
+	/* 59 */	NODEV,
+	/* 60 */	NODEV
 };
 
 /*


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