NetBSD Problem Report #316
From gnats Fri Jul 1 22:03:02 1994
Received: from jacobs.CSOS.ORST.EDU ([email protected] [128.193.40.13]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id WAA10892 for <[email protected]>; Fri, 1 Jul 1994 22:03:01 -0700
Message-Id: <[email protected]>
Date: Fri, 1 Jul 1994 22:03:20 -0700
From: jason downs <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: hp300 kernels require 'grf' support
X-Send-Pr-Version: 3.2
>Number: 316
>Category: port-hp300
>Synopsis: hp300 kernels require 'grf' support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 01 22:05:03 +0000 1994
>Closed-Date: Wed Jul 20 07:09:41 +0000 1994
>Last-Modified:
>Originator: jason downs
>Release: NetBSD 0.9C-current (four days old)
>Organization:
"Computer Science Outreach Services, Oregon State University"
>Environment:
System: NetBSD jacobs 0.9C NetBSD 0.9C (JACOBS) #11: Fri Jul 1 21:49:05 PDT 1994 downsj@foundation:/usr/src/sys/arch/hp300/compile/JACOBS hp300
>Description:
hp300 kernels will not compile without grf device configured into
them. The ite and grf devices are also mutually dependant.
>How-To-Repeat:
Attempt to config a kernel without grf and ite support.
>Fix:
This is the really hackish and most likely incorrect may of making
grf 'optional': (/sys/arch/hp300/hp300/conf.c)
*** conf.c.orig Fri Jul 1 05:43:54 1994
--- conf.c Fri Jul 1 21:33:54 1994
***************
*** 219,224 ****
--- 219,226 ----
cdev_decl(rd);
/* XXX shouldn't this be optional? */
+ #include "grf.h"
+ #if NGRF > 0
cdev_decl(grf);
/* open, close, ioctl, select, map -- XXX should be a map device */
#define cdev_grf_init(c,n) { \
***************
*** 226,231 ****
--- 228,234 ----
(dev_type_write((*))) nullop, dev_init(c,n,ioctl), \
(dev_type_stop((*))) enodev, (dev_type_reset((*))) nullop, 0, \
dev_init(c,n,select), dev_init(c,n,map), 0 }
+ #endif
#include "ppi.h"
cdev_decl(ppi);
***************
*** 300,306 ****
cdev_tape_init(NCT,ct), /* 7: cs80 cartridge tape */
cdev_disk_init(NSD,sd), /* 8: scsi disk */
cdev_disk_init(NRD,rd), /* 9: hpib disk */
! cdev_grf_init(1,grf), /* 10: frame buffer */
cdev_ppi_init(NPPI,ppi), /* 11: printer/plotter interface */
cdev_tty_init(NDCA,dca), /* 12: built-in single-port serial */
cdev_ite_init(NITE,ite), /* 13: console terminal emulator */
--- 303,313 ----
cdev_tape_init(NCT,ct), /* 7: cs80 cartridge tape */
cdev_disk_init(NSD,sd), /* 8: scsi disk */
cdev_disk_init(NRD,rd), /* 9: hpib disk */
! #if NGRF > 0
! cdev_grf_init(NGRF,grf), /* 10: frame buffer */
! #else
! cdev_notdef(), /* 10 */
! #endif
cdev_ppi_init(NPPI,ppi), /* 11: printer/plotter interface */
cdev_tty_init(NDCA,dca), /* 12: built-in single-port serial */
cdev_ite_init(NITE,ite), /* 13: console terminal emulator */
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mycroft
State-Changed-When: Wed Jul 20 00:09:41 PDT 1994
State-Changed-Why:
Fixed.
>Unformatted:
(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.