Subject: Re: Re: altq majors in /dev/altq/
To: Dario Borchers <mailinglists@borchers.homelinux.net>
From: Martin Husemann <martin@duskware.de>
List: port-sparc64
Date: 12/09/2003 14:26:47
--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Dec 08, 2003 at 04:10:38AM +0000, Dario Borchers wrote:
> 68 doesn't work, i'm using 1.6.1 stable
You need to add it to sys/arch/sparc64/sparc64/conf.c.
Martin
--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="altq.patch"
Index: conf.c
===================================================================
RCS file: /cvsroot/src/sys/arch/sparc64/sparc64/Attic/conf.c,v
retrieving revision 1.21.6.2
diff -u -r1.21.6.2 conf.c
--- conf.c 12 Dec 2002 22:46:27 -0000 1.21.6.2
+++ conf.c 9 Dec 2003 13:24:13 -0000
@@ -73,6 +73,8 @@
#include "wd.h"
#include "raid.h"
+#include <altq/altqconf.h>
+
#include "fb.h"
#include "kbd.h"
#include "ms.h"
@@ -240,7 +242,7 @@
cdev_notdef(), /* 65 */
cdev_notdef(), /* 66 */
cdev_fb_init(NCGSIX,cgsix), /* 67: /dev/cgsix */
- cdev_notdef(), /* 68 */
+ cdev_altq_init(NALTQ,altq), /* 68: ALTQ control interface */
cdev__ocrwip_init(NAUDIO,audio), /* 69: /dev/audio */
cdev_openprom_init(1,openprom), /* 70: /dev/openprom */
cdev_notdef(), /* 71 */
--huq684BweRXVnRxX--