NetBSD Problem Report #17675

Received: (qmail 3020 invoked by uid 605); 22 Jul 2002 11:36:22 -0000
Message-Id: <200207221135.g6MBZg300429@qube.tos-irc.org>
Date: Mon, 22 Jul 2002 20:35:42 +0900 (JST)
From: hideki@acm.org
Sender: gnats-bugs-owner@netbsd.org
Reply-To: hideki@acm.org
To: gnats-bugs@gnats.netbsd.org
Subject: enable ALTQ support on port-cobalt
X-Send-Pr-Version: 3.95

>Number:         17675
>Category:       port-cobalt
>Synopsis:       enable ALTQ support on port-cobalt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-cobalt-maintainer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 22 11:37:00 +0000 2002
>Closed-Date:    Sun Oct 10 20:29:02 +0000 2004
>Last-Modified:  Sun Oct 10 20:30:01 +0000 2004
>Originator:     YOSHIDA Hideki
>Release:        NetBSD 1.6D
>Organization:
>Environment:
System: NetBSD qube 1.6D NetBSD 1.6D (ALTQ) #7: Mon Jul 22 19:57:09 JST 2002 hideki@qube:/usr/src/sys/arch/cobalt/compile/ALTQ cobalt
Architecture: mipsel
Machine: cobalt
>Description:
	ALTQ is not enabled on port-cobalt.
>How-To-Repeat:
	/usr/sbin/altqd won't run.
>Fix:
	Just imported several lines from i386.  Works fine on Qube2.

Index: sys/arch/cobalt/cobalt/conf.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/cobalt/cobalt/conf.c,v
retrieving revision 1.15
diff -u -1 -r1.15 conf.c
--- sys/arch/cobalt/cobalt/conf.c	2002/07/19 16:38:18	1.15
+++ sys/arch/cobalt/cobalt/conf.c	2002/07/22 11:09:55
@@ -121,2 +121,4 @@

+#include <altq/altqconf.h>
+
 struct cdevsw cdevsw[] =
@@ -162,2 +164,3 @@
 #endif
+	cdev_altq_init(NALTQ, altq),		/* 35: ALTQ control interface */

Index: etc/etc.cobalt/MAKEDEV
===================================================================
RCS file: /cvsroot/basesrc/etc/etc.cobalt/MAKEDEV,v
retrieving revision 1.19
diff -u -1 -r1.19 MAKEDEV
--- etc/etc.cobalt/MAKEDEV	2002/06/18 13:40:17	1.19
+++ etc/etc.cobalt/MAKEDEV	2002/07/22 11:13:46
@@ -129,2 +129,3 @@
 	makedev systrace
+	makedev altq
 	;;
@@ -418,2 +419,15 @@
 	chmod 644 systrace
+	;;
+
+altq)
+	mkdir -p altq
+	chmod 755 altq
+	unit=0
+	for dev in altq cbq wfq afm fifoq red rio localq hfsc \
+	    cdnr blue priq; do
+		rm -f altq/$dev
+		mknod altq/$dev c 35 $unit
+		chmod 644 altq/$dev
+		unit=$(($unit + 1))
+	done
 	;;

>Release-Note:
>Audit-Trail:

From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
To: hideki@acm.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-cobalt/17675: enable ALTQ support on port-cobalt
Date: Mon, 22 Jul 2002 14:09:35 +0200

 When somebody commits this, please don't forget adding a comment at
 the top of MAKEDEV for MAKEDEV(8).
  Thomas

 -- 
 Thomas Klausner - wiz@danbala.ifoer.tuwien.ac.at
 Intolerance is the last defense of the insecure.
State-Changed-From-To: open->closed 
State-Changed-By: jdolecek 
State-Changed-When: Sun Oct 10 20:28:41 UTC 2004 
State-Changed-Why:  
Major allocated, it could be used now. 

From: Jaromir Dolecek <jdolecek@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/17675 CVS commit: src/sys/arch/cobalt/conf
Date: Sun, 10 Oct 2004 20:28:29 +0000 (UTC)

 Module Name:	src
 Committed By:	jdolecek
 Date:		Sun Oct 10 20:28:29 UTC 2004

 Modified Files:
 	src/sys/arch/cobalt/conf: majors.cobalt

 Log Message:
 allocate major for alpq - PR port-cobalt/17675


 To generate a diff of this commit:
 cvs rdiff -r1.11 -r1.12 src/sys/arch/cobalt/conf/majors.cobalt

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.