Subject: port-amiga/1388: missing declaration for ccd
To: None <gnats-bugs@gnats.netbsd.org>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 08/20/1995 15:27:31
>Number: 1388
>Category: port-amiga
>Synopsis: missing declaration for ccd
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 20 09:35:01 1995
>Last-Modified:
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current 19-Aug-95
>Environment:
System: NetBSD arresum 1.0A NetBSD 1.0A (VEEGO) #207: Sun Aug 20 14:49:56 MET DST 1995 bernd@arresum:/src/sys/arch/amiga/compile/VEEGO amiga
>Description:
Undeclared dkn variable for ccd in the amiga-port
>How-To-Repeat:
insert an line for ccd in the config file:
pseudo-device ccd 4 # concatenated disk devices
and make an new kernel
>Fix:
Apply this patch:
*** sys/arch/amiga/amiga/autoconf.c-orig Mon Feb 13 12:08:22 1995
--- sys/arch/amiga/amiga/autoconf.c Sun Aug 20 14:49:27 1995
***************
*** 40,53 ****
#include <amiga/amiga/device.h>
#include <amiga/amiga/custom.h>
! void configure __P((void));
! void setroot __P((void));
! void swapconf __P((void));
! void mbattach __P((struct device *, struct device *, void *));
! int mbprint __P((void *, char *));
! int mbmatch __P((struct device *, struct cfdata *, void *));
! int cold; /* 1 if still booting */
#include <sys/kernel.h>
/*
* called at boot time, configure all devices on system
--- 40,54 ----
#include <amiga/amiga/device.h>
#include <amiga/amiga/custom.h>
! void configure __P((void));
! void setroot __P((void));
! void swapconf __P((void));
! void mbattach __P((struct device *, struct device *, void *));
! int mbprint __P((void *, char *));
! int mbmatch __P((struct device *, struct cfdata *, void *));
! int dkn; /* number of iostat dk numbers assigned so far */
! int cold; /* 1 if still booting */
#include <sys/kernel.h>
/*
* called at boot time, configure all devices on system
>Audit-Trail:
>Unformatted: